Add uninstall command to rbenv.fish completion

`uninstall` is part of the ruby-build.
This commit is contained in:
Arash Mousavi 2022-06-07 22:38:38 +01:00 committed by Fabian Boehm
parent 2def146c67
commit 88502ca49f

View File

@ -69,6 +69,10 @@ complete -f -c rbenv -n __fish_rbenv_needs_command -a init -d 'Configure the she
complete -f -c rbenv -n __fish_rbenv_needs_command -a install -d 'Install a Ruby version'
complete -f -c rbenv -n '__fish_rbenv_using_command install' -a '(__fish_rbenv_official_rubies)'
### uninstall
complete -f -c rbenv -n __fish_rbenv_needs_command -a uninstall -d 'Uninstall a Ruby version'
complete -f -c rbenv -n '__fish_rbenv_using_command uninstall' -a '(__fish_rbenv_installed_rubies)'
### local
complete -f -c rbenv -n __fish_rbenv_needs_command -a local -d 'Set or show the local application-specific Ruby version'
complete -f -c rbenv -n '__fish_rbenv_using_command local' -a '(__fish_rbenv_installed_rubies)'