From 436c0645dd33a92ee572e2dc69a531d396f92244 Mon Sep 17 00:00:00 2001 From: laureanray Date: Sun, 13 Aug 2023 21:34:53 +0800 Subject: [PATCH] fix install script --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b37048c..ba9364b 100755 --- a/install.sh +++ b/install.sh @@ -44,10 +44,11 @@ if command -v clibgen >/dev/null; then else case $SHELL in /bin/zsh) shell_profile=".zshrc" ;; + /usr/bin/zsh) shell_profile=".zshrc" ;; *) shell_profile=".bashrc" ;; esac echo "Manually add the directory to your \$HOME/$shell_profile (or similar)" - echo " export CLIBGEN_INSTALL=\"$clibgen_install:was\"" + echo " export CLIBGEN_INSTALL=\"$clibgen_install\"" echo " export PATH=\"\$CLIBGEN_INSTALL/bin:\$PATH\"" echo "Run '$exe --help' to get started" fi