mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Use $NVM_DIR when looking for nvm for completion.
Don't assume it's in $HOME
This commit is contained in:
parent
9df597f48c
commit
878172e920
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#compdef nvm
|
#compdef nvm
|
||||||
#autoload
|
#autoload
|
||||||
|
|
||||||
[[ -s ~/.nvm/nvm.sh ]] || return 0
|
[[ -f "$NVM_DIR/nvm.sh" ]] || return 0
|
||||||
|
|
||||||
local -a _1st_arguments
|
local -a _1st_arguments
|
||||||
_1st_arguments=(
|
_1st_arguments=(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue