summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-04-02 12:39:34 +0200
committerjohannst <stoelp@eit.uni-kl.de>2017-04-02 12:39:34 +0200
commiteb4fdf7be09c246b3ff1068c5b0e900a8f32203e (patch)
tree8e77e952ae684d2c06228215568bd62760eebb97 /install
parent25b057a916e8233f4d8aecd9ede639cd1bb8f18c (diff)
downloaddotfiles-eb4fdf7be09c246b3ff1068c5b0e900a8f32203e.tar.gz
dotfiles-eb4fdf7be09c246b3ff1068c5b0e900a8f32203e.zip
adapted vimrc + vimrc installer to link ctags; small changes in vim colorscheme
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 4 insertions, 2 deletions
diff --git a/install b/install
index a6f18c8..e9b9427 100755
--- a/install
+++ b/install
@@ -98,12 +98,14 @@ function vimConfigInstaller() {
return 1
fi
mkdir $vim_home > /dev/null 2>&1
- ln -s $ABS_BASE_DIR/vim/* $vim_home
+ ln -s $ABS_BASE_DIR/vim/* $vim_home > /dev/null 2>&1
echo -e "\n\" $gMagicNumber - Auto generated, do not delete or modify!" >> $vimrc
echo -e "let \$MYVIMRC='$ABS_BASE_DIR/vimrc'" >> $vimrc
echo -e "let \$VIMHOME='$vim_home'" >> $vimrc
+ # link ctags
+ type ctags >/dev/null 2>&1 && { echo -e "let \$MYCTAGS='$(which ctags)'" >> $vimrc; }
echo -e "source $ABS_BASE_DIR/vimrc" >> $vimrc
- git clone https://github.com/VundleVim/Vundle.vim.git $vim_home/bundle/Vundle.vim
+ git clone https://github.com/VundleVim/Vundle.vim.git $vim_home/bundle/Vundle.vim || { echo "Vundle not cloned, using existing!"; }
vim +PluginInstall +qall
return 0
}