diff --git a/tools/install.sh b/tools/install.sh index 11484f1..7c11920 100644 --- a/tools/install.sh +++ b/tools/install.sh @@ -21,10 +21,10 @@ fi # install oh-my-zsh and plugins echo "${GREEN}Installing oh-my-zsh and plugins$CLEAR_COLOR" -ZSH="$HOME/.dotfiles/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended > /dev/null -curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivabus.zsh-theme -o $HOME/.dotfiles/oh-my-zsh/custom/themes/ivabus.zsh-theme > /dev/null -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.dotfiles/oh-my-zsh/custom/plugins/zsh-syntax-highlighting > /dev/null -git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.dotfiles/oh-my-zsh/custom/plugins/zsh-autosuggestions > /dev/null +ZSH="$HOME/.dotfiles/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended > /dev/null 2>&1 +curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivabus.zsh-theme -o $HOME/.dotfiles/oh-my-zsh/custom/themes/ivabus.zsh-theme > /dev/null 2>&1 +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.dotfiles/oh-my-zsh/custom/plugins/zsh-syntax-highlighting > /dev/null 2>&1 +git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.dotfiles/oh-my-zsh/custom/plugins/zsh-autosuggestions > /dev/null 2>&1 # linking dotfiles to their original locations diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 534dc50..1a2753d 100644 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -9,7 +9,7 @@ CLEAR_COLOR="\033[0m" cd $HOME/.dotfiles echo "1) ${GREEN}Upgrading dotfiles$CLEAR_COLOR" -git pull +git pull > /dev/null 2>&1 sh tools/relink.sh echo "2) ${GREEN}Upgrading oh-my-zsh$CLEAR_COLOR" zsh -c "source $ZSH/oh-my-zsh.sh && omz update" > /dev/null