Skip to content

Commit 5809ebe

Browse files
committed
Merge branch 'completions'
* completions: move completions down a bit include --all, and actual versions in completions add completions for list/install/uninstall subcommands
2 parents 238e9af + d4fce7e commit 5809ebe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

bin/nodenv-package-hooks

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ case "$cmd" in
8080
list | install | uninstall )
8181
for_versions ${cmd}_hooks "$@"
8282
;;
83+
# Provide nodenv completions
84+
--complete )
85+
echo list
86+
echo install
87+
echo uninstall
88+
echo --all
89+
nodenv-versions --bare
90+
;;
8391
help )
8492
nodenv-help package-hooks
8593
;;

0 commit comments

Comments
 (0)