Install vim plugins
This commit is contained in:
parent
05061577ce
commit
b49146e407
16
unixconf.sh
16
unixconf.sh
|
|
@ -12,13 +12,10 @@ for musthave in $musthaves; do
|
|||
fi
|
||||
done
|
||||
|
||||
# Vim setup
|
||||
if (! test -d "$HOME/.vim" ); then
|
||||
mkdir "$HOME/.vim"
|
||||
fi
|
||||
|
||||
# ZSH setup
|
||||
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
||||
SHELL=zsh sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
||||
echo "Setting ZSH as default."
|
||||
echo "exec zsh" >> "$HOME/.bashrc"
|
||||
|
||||
# Copy configurations
|
||||
tempdir="temp_$(date -I)"
|
||||
|
|
@ -35,5 +32,8 @@ rootdir="$(ls)"
|
|||
cd "$rootdir/configurations" || exit
|
||||
cp .* "$HOME/"
|
||||
|
||||
echo "Setting ZSH as default (/bin/zsh)."
|
||||
echo "exec zsh" >> "$HOME/.bashrc"
|
||||
# Vim setup
|
||||
if (! test -d "$HOME/.vim" ); then
|
||||
mkdir "$HOME/.vim"
|
||||
fi
|
||||
vim +PluginInstall +qall
|
||||
|
|
|
|||
Loading…
Reference in New Issue