fix: use command -v directly.

This commit is contained in:
2026-03-26 23:56:48 +08:00
parent 263edc1e69
commit fefcf3a180
+1 -1
View File
@@ -17,7 +17,7 @@ if command -v mise > /dev/null; then
eval "$(mise activate zsh)" eval "$(mise activate zsh)"
fi fi
# #
if [[ command -v sdcv > /dev/null ]]; then if command -v sdcv > /dev/null; then
alias de="sdcv" alias de="sdcv"
fi fi
# #