From 826d0216581022897c0d2ca41efa6c35c65e9516 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 6 Feb 2022 21:57:28 +0100 Subject: Fix yadm bootstrap --- .config/yadm/bootstrap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 .config/yadm/bootstrap (limited to '.config/yadm') diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap old mode 100644 new mode 100755 index 272d019..b9b1cb3 --- 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 -- cgit v1.2.3