mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Added missing local and global to bash completion
This commit is contained in:
parent
9ce486339f
commit
5fbf730c4c
@ -23,7 +23,7 @@ _asdf () {
|
||||
COMPREPLY=($(compgen -W "$plugins" -- $cur))
|
||||
fi
|
||||
;;
|
||||
uninstall|where|reshim)
|
||||
uninstall|where|reshim|local|global)
|
||||
if [[ "$plugins" == *"$prev"* ]] ; then
|
||||
local versions=$(asdf list $prev)
|
||||
COMPREPLY=($(compgen -W "$versions" -- $cur))
|
||||
@ -32,7 +32,7 @@ _asdf () {
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
local cmds='plugin-add plugin-list plugin-remove plugin-update install uninstall update current where list list-all reshim'
|
||||
local cmds='plugin-add plugin-list plugin-remove plugin-update install uninstall update current where list list-all local global reshim'
|
||||
COMPREPLY=($(compgen -W "$cmds" -- $cur))
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user