T flag for installing tmux profile

This commit is contained in:
Austen Adler 2014-05-12 21:03:52 -04:00
parent 5fa5805715
commit d3a4afa74d

View File

@ -1,4 +1,4 @@
while getopts :bo option
while getopts :bot option
do
case "$option" in
b)
@ -9,6 +9,10 @@ do
fi
vim +BundleInstall +qa
;;
t)
trash ~/.tmux.conf
ln -s ${PWD}/tmux.conf ~/.tmux.conf
;;
o)
exit 0
;;
@ -17,11 +21,10 @@ do
;;
esac
done
trash ~/.tmux.conf ~/.gitconfig ~/.vimrc ~/.vimperatorrc ~/.gitignore_global ~/.bashrc ~/.bash_aliases ~/.bash_functions
trash ~/.gitconfig ~/.vimrc ~/.vimperatorrc ~/.gitignore_global ~/.bashrc ~/.bash_aliases ~/.bash_functions
ln -s ${PWD}/gitignore_global ~/.gitignore_global
ln -s ${PWD}/vimrc ~/.vimrc
ln -s ${PWD}/vimperatorrc ~/.vimperatorrc
ln -s ${PWD}/tmux.conf ~/.tmux.conf
ln -s ${PWD}/gitconfig ~/.gitconfig
ln -s ${PWD}/bashrc ~/.bashrc
ln -s ${PWD}/bash_aliases ~/.bash_aliases