diff options
Diffstat (limited to '.config/yadm')
-rw-r--r-- | .config/yadm/bootstrap | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap new file mode 100644 index 0000000..5adeb2f --- /dev/null +++ b/.config/yadm/bootstrap @@ -0,0 +1,28 @@ +#!/bin/sh + +# # +# zsh +# # + +ZSH=$HOME/.config/zsh/ohmyzsh + +if [ ! -d "$ZSH" ] +sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +fi + + +# # +# vim +# # + +PLUG=$HOME/.local/share/nvim/site/autoload/plug.vim + +if [ ! -f "$PLUG" ] +curl -fLo $PLUG --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +fi + +if command -v nvim > /dev/null 2>&1; then + nvim '+PlugUpdate' '+PlugClean!' '+PlugUpdate' '+qall' +fi + |