From f85d049cbdbb5ca8663242b0b35e823972e83bcf Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 7 Jun 2024 04:05:41 -0400 Subject: [PATCH] fix: fix --- .install/zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/zsh.sh b/.install/zsh.sh index ed4bc26..7ac0e94 100644 --- a/.install/zsh.sh +++ b/.install/zsh.sh @@ -5,7 +5,7 @@ packagesPacman=("zsh"); echo "Please select the zsh plugin manager:" zsh_manager=$(gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "oh my zsh" "zinit") -if [ ${zsh_manager}=="oh my zsh" ]; then +if [[ "${zsh_manager}" == *"oh my zsh"* ]]; then source .install/install-packages.sh RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions