Skip to content

Commit

Permalink
Update shell completions, support iojs
Browse files Browse the repository at this point in the history
  • Loading branch information
hokaccha committed Jan 26, 2015
1 parent d14572c commit 2bc2260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion completions/bash/nodebrew-completion
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _nodebrew()
COMPREPLY=( $( compgen -W "${opts}" ${cur} ) )
elif [ $COMP_CWORD = 2 ];then
local _alias _versions
_versions=$(nodebrew ls 2> /dev/null | grep '^v')
_versions=$(nodebrew ls 2> /dev/null | grep '^v\|^io@')
_alias=$(nodebrew alias 2> /dev/null | sed 's/->.*//')

case "${prev}" in
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_nodebrew
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ case $state in
;;
args)
local -a _versions _alias
_versions=( $(_call_program commands nodebrew ls 2>/dev/null | grep '^v') )
_versions=( $(_call_program commands nodebrew ls 2>/dev/null | grep '^v\|^io@') )
_alias=( $(_call_program commands nodebrew alias 2>/dev/null | sed 's/->.*//') )
case $line[1] in
use|migrate-package|exec)
Expand Down

0 comments on commit 2bc2260

Please sign in to comment.