Add init to device autocompletion

This commit is contained in:
Juan Cruz Viotti 2015-01-21 11:48:20 -04:00
parent ae63233575
commit c48c77dbeb

View File

@ -15,7 +15,7 @@ _resin() {
COMPREPLY=( $(compgen -W "${subcommands}" -- ${current}) ) COMPREPLY=( $(compgen -W "${subcommands}" -- ${current}) )
return 0 ;; return 0 ;;
device) device)
local subcommands="rename rm identify" local subcommands="rename rm identify init"
COMPREPLY=( $(compgen -W "${subcommands}" -- ${current}) ) COMPREPLY=( $(compgen -W "${subcommands}" -- ${current}) )
return 0 ;; return 0 ;;
key) key)