T flag for installing tmux profile
This commit is contained in:
parent
5fa5805715
commit
d3a4afa74d
9
sync.sh
9
sync.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user