summaryrefslogtreecommitdiff
path: root/.config/bash/bashrc
blob: 46e17d1492f0d5e42cc31940fcb445f8fae0049a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

source ~/.config/bash/environment.sh

if [[ $- != *i* ]] ; then
	# Shell is non-interactive.  Be done now!
	return
fi

source ~/.config/bash/functions.sh
source ~/.config/bash/alias.sh

###-tns-completion-start-###
if [ -f /home/ben/.tnsrc ]; then
    source /home/ben/.tnsrc
fi
###-tns-completion-end-###

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion