Skip to content

Commit

Permalink
fix(starkliup): incorrect zsh detection with SHELL
Browse files Browse the repository at this point in the history
The proper way to detect `zsh` is via `ZSH_NAME`.
  • Loading branch information
xJonathanLEI committed Jul 30, 2024
1 parent 950b63e commit c730f64
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions starkliup/install
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ else
. ${STARKLI_BASH_COMPLETIONS_DIR}/starkli
fi
;;
*/zsh)
eval "fpath=(${STARKLI_ZSH_COMPLETIONS_DIR} \$fpath)"
autoload -U compinit
compinit
;;
esac
fi
EOF
Expand Down Expand Up @@ -124,9 +119,6 @@ case $SHELL in
*/ash)
IS_SUPPORTED_SHELL="1"
;;
*/zsh)
IS_SUPPORTED_SHELL="1"
;;
esac

# Shell
Expand Down

0 comments on commit c730f64

Please sign in to comment.