mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-07-31 12:56:27 +08:00
Merge f32dcca91a
into 7577d37b7e
This commit is contained in:
commit
c06c6cf58f
@ -89,7 +89,7 @@ _zsh_nvm_lazy_load() {
|
||||
local cmds
|
||||
cmds=()
|
||||
for bin in $global_binaries; do
|
||||
[[ "$(which $bin)" = "$bin: aliased to "* ]] || cmds+=($bin)
|
||||
[[ "$(which $bin 2>/dev/null)" = "$bin: aliased to "* ]] || cmds+=($bin)
|
||||
done
|
||||
|
||||
# Create function for each command
|
||||
|
Loading…
Reference in New Issue
Block a user