From 88502ca49ff018c9bba7e7b27c489c41e6370382 Mon Sep 17 00:00:00 2001 From: Arash Mousavi Date: Tue, 7 Jun 2022 22:38:38 +0100 Subject: [PATCH] Add uninstall command to rbenv.fish completion `uninstall` is part of the ruby-build. --- share/completions/rbenv.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/completions/rbenv.fish b/share/completions/rbenv.fish index 5ad9f2946..14292586f 100644 --- a/share/completions/rbenv.fish +++ b/share/completions/rbenv.fish @@ -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)'