-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbashrc
executable file
·39 lines (31 loc) · 917 Bytes
/
bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
source ~/dotfiles/bash/colors
source ~/dotfiles/bash/paths
source ~/dotfiles/bash/env
source ~/dotfiles/aliases
source ~/dotfiles/bash/functions
source ~/dotfiles/bash/completions
if [ `uname` == 'Darwin' ]; then
source ~/dotfiles/bash/mac_aliases
fi
FILES=(vimrc gitignore gitconfig screenrc pryrc rdebugrc tm_properties ackrc)
ELEMENTS=${#FILES[@]}
for (( i=0;i<$ELEMENTS;i++)); do
FILE=${FILES[${i}]}
if [ ! -f ~/.${FILE} ]; then
ln -s ~/dotfiles/${FILE} ~/.${FILE}
echo Symlinking ${FILE}
fi
done
if [ ! -f ~/.tmux.conf ]; then
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
echo Symlinking tmux conf
fi
if [ -f ~/.local_settings ]; then
. ~/.local_settings
fi
if [ ! -d ~/.vim ]; then
ln -s ~/dotfiles/vim ~/.vim
echo Symlinking .vim directory
fi
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
# export PATH=$PATH:~/bin/jad158g.mac.intel/