diff options
-rwxr-xr-x[-rw-r--r--] | .config/yadm/bootstrap | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 272d019..b9b1cb3 100644..100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -6,8 +6,8 @@ ZSH=$HOME/.config/zsh/ohmyzsh -if [ ! -d "$ZSH" ] -sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +if [ ! -d "$ZSH" ]; then + sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" fi @@ -15,10 +15,10 @@ fi # vim # # -PLUG=$HOME/.local/share/nvim/site/autoload/plug.vim +PLUG="$HOME/.local/share/nvim/site/autoload/plug.vim" -if [ ! -f "$PLUG" ] -curl -fLo $PLUG --create-dirs \ +if [ ! -f "$PLUG" ]; then + curl -fLo $PLUG --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim fi |