From c6bf07a5899d269335cd7162df6fe67ee4b4cb7f Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sat, 22 Jul 2017 16:48:00 +0800 Subject: [PATCH] Fix install to add tmux Signed-off-by: Ein Verne --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install.sh b/install.sh index 8d08db8..74947d5 100755 --- a/install.sh +++ b/install.sh @@ -16,9 +16,17 @@ if [ "$use_vim_configs" == "Y" ] || [ "$use_vim_configs" == "y" ]; then fi ln -s $PWD/.vim $VIMDIR/.vim 2> /dev/null ln -s $PWD/.vimrc $VIMDIR/.vimrc 2> /dev/null + if [ -f "$VIMDIR/.tmux.conf" ]; then + mv $VIMDIR/.tmux.conf $VIMDIR/.tmux.conf.old + echo "origin .tmux.conf has been moved to .tmux.conf.old" + fi + ln -s $PWD/tmux/.tmux.conf $VIMDIR/.tmux.conf 2> /dev/null + ln -s $PWD/tmux/.tmux.conf.local $VIMDIR/.tmux.conf.local 2> /dev/null fi git submodule init && git submodule update # install ctags to solve "Exuberant ctags not found in PATH" error sudo apt-get install exuberant-ctags +sudo apt-get install vim +sudo apt-get install tmux