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 do
case "$option" in case "$option" in
b) b)
@ -9,6 +9,10 @@ do
fi fi
vim +BundleInstall +qa vim +BundleInstall +qa
;; ;;
t)
trash ~/.tmux.conf
ln -s ${PWD}/tmux.conf ~/.tmux.conf
;;
o) o)
exit 0 exit 0
;; ;;
@ -17,11 +21,10 @@ do
;; ;;
esac esac
done 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}/gitignore_global ~/.gitignore_global
ln -s ${PWD}/vimrc ~/.vimrc ln -s ${PWD}/vimrc ~/.vimrc
ln -s ${PWD}/vimperatorrc ~/.vimperatorrc ln -s ${PWD}/vimperatorrc ~/.vimperatorrc
ln -s ${PWD}/tmux.conf ~/.tmux.conf
ln -s ${PWD}/gitconfig ~/.gitconfig ln -s ${PWD}/gitconfig ~/.gitconfig
ln -s ${PWD}/bashrc ~/.bashrc ln -s ${PWD}/bashrc ~/.bashrc
ln -s ${PWD}/bash_aliases ~/.bash_aliases ln -s ${PWD}/bash_aliases ~/.bash_aliases