Merge pull request #1626 from NoahGorny/update-to-stable-or-unstable
bash-it update to stable or dev
This commit is contained in:
@@ -87,7 +87,16 @@ _bash-it-comp()
|
||||
COMPREPLY=( $(compgen -W "${doctor_args}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
migrate | reload | search | update | version)
|
||||
update)
|
||||
if [[ ${cur} == -* ]];then
|
||||
local update_args="-s --silent"
|
||||
else
|
||||
local update_args="stable dev"
|
||||
fi
|
||||
COMPREPLY=( $(compgen -W "${update_args}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
migrate | reload | search | version)
|
||||
return 0
|
||||
;;
|
||||
enable | disable)
|
||||
|
||||
Reference in New Issue
Block a user