forked from twe4ked/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
23 lines (20 loc) · 771 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export DOTFILES=~/.dotfiles # Find the this folder
source $DOTFILES/aliases/git # Git aliases
source $DOTFILES/aliases/rails # Rails aliases
source $DOTFILES/aliases/aliases # Misc aliases
source $DOTFILES/shell/functions.sh # Misc functions
source $DOTFILES/shell/exports.sh # Load exports
source $DOTFILES/shell/github.sh # Adds a 'github' command
# Load custom shell scripts
if [ $SHELL = '/bin/bash' ]; then
source $DOTFILES/bash/bashrc
export WHAT_SHELL='Using '`echo $SHELL`' shell.'
else
if [ $SHELL = "/bin/zsh" ]; then
source $DOTFILES/zsh/config
export WHAT_SHELL='Using '`echo $SHELL`' shell.'
else
export WHAT_SHELL=`echo $SHELL`' does not have a custom config.'
fi
fi
source $DOTFILES/lib/motd # MOTD