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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Vim setup
|
|
||||||
if (! test -d "$HOME/.vim" ); then
|
|
||||||
mkdir "$HOME/.vim"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ZSH setup
|
# 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
|
# Copy configurations
|
||||||
tempdir="temp_$(date -I)"
|
tempdir="temp_$(date -I)"
|
||||||
|
|
@ -35,5 +32,8 @@ rootdir="$(ls)"
|
||||||
cd "$rootdir/configurations" || exit
|
cd "$rootdir/configurations" || exit
|
||||||
cp .* "$HOME/"
|
cp .* "$HOME/"
|
||||||
|
|
||||||
echo "Setting ZSH as default (/bin/zsh)."
|
# Vim setup
|
||||||
echo "exec zsh" >> "$HOME/.bashrc"
|
if (! test -d "$HOME/.vim" ); then
|
||||||
|
mkdir "$HOME/.vim"
|
||||||
|
fi
|
||||||
|
vim +PluginInstall +qall
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue