From aed0e8f1057acc56a54875b266228a32ac9111f2 Mon Sep 17 00:00:00 2001 From: Hyacinthe Cartiaux Date: Mon, 6 Feb 2023 22:20:10 +0100 Subject: [PATCH] [install] Simplify --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ee0fc1a..676f284 100755 --- a/install.sh +++ b/install.sh @@ -22,7 +22,7 @@ cd ~ mkdir -p ~/.zsh cd ~/.zsh [[ ! -d ~/.zsh/zsh-syntax-highlighting ]] && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git -[[ -d ~/.zsh/zsh-syntax-highlighting ]] && (cd ~/.zsh/zsh-syntax-highlighting ; git pull ) +[[ -d ~/.zsh/zsh-syntax-highlighting ]] && git -C ~/.zsh/zsh-syntax-highlighting pull ln -sf $DOTFILES/zsh/prompt_hyacinthe_setup ~/.zsh/prompt_hyacinthe_setup ln -sf $DOTFILES/zsh/zshrc ~/.zshrc