mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
Bring rbenv completions up-to-date
This commit is contained in:
parent
73106198c8
commit
5c8ef19ff8
1 changed files with 17 additions and 17 deletions
|
@ -42,8 +42,8 @@ function __fish_rbenv_prefixes
|
|||
end
|
||||
|
||||
### commands
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a commands -d 'List all rbenv commands'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command commands' -a '--complete --sh --no-sh'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a commands -d 'List all available rbenv commands'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command commands' -a '--sh --no-sh'
|
||||
|
||||
### completions
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a completions
|
||||
|
@ -60,42 +60,42 @@ complete -f -c rbenv -n '__fish_rbenv_using_command global' -a '(__fish_rbenv_in
|
|||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a help
|
||||
|
||||
### hooks
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a hooks
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a hooks -d 'List hook scripts for a given rbenv command'
|
||||
|
||||
### init
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a init
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a init -d 'Configure the shell environment for rbenv'
|
||||
|
||||
### install
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a install -d 'Install a ruby version'
|
||||
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)'
|
||||
|
||||
### local
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a local -d 'Set or show the local directory-specific Ruby version'
|
||||
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)'
|
||||
|
||||
### prefix
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a prefix -d 'Shows a ruby version installed folder'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a prefix -d 'Display the directory where a Ruby version is installed'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command prefix' -a '(__fish_rbenv_prefixes)'
|
||||
|
||||
### rehash
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a rehash -d 'Rehash rbenv shims (run this after installing binaries)'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a rehash -d 'Rehash rbenv shims (run this after installing executables)'
|
||||
|
||||
### root
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a root -d 'rbenv root folder'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a root -d 'Display the root directory where versions and shims are kept'
|
||||
|
||||
### shell
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a shell -d 'Set or show the shell-specific Ruby version'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command shell' -a '--unset (__fish_rbenv_installed_rubies)'
|
||||
|
||||
### shims
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a shims
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a shims -d 'List existing rbenv shims'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command shims' -a '--short'
|
||||
|
||||
### version
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version -d 'Show the current Ruby version'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version -d 'Show the current Ruby version & how it was selected'
|
||||
|
||||
### version-file
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-file
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-file 'Detect the file that sets the current rbenv version'
|
||||
|
||||
### version-file-read
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-file-read
|
||||
|
@ -104,18 +104,18 @@ complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-file-read
|
|||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-file-write
|
||||
|
||||
### version-name
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-name
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-name -d 'Show the current Ruby version'
|
||||
|
||||
### version-origin
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-origin
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a version-origin -d 'Explain how the current Ruby version is set'
|
||||
|
||||
### versions
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a versions -d 'List all Ruby versions known by rbenv'
|
||||
|
||||
### whence
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a whence -d 'List all Ruby versions with the given command'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command whence' -a '--complete --path'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a whence -d 'List all Ruby versions that contain the given executable'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command whence' -a '--path'
|
||||
|
||||
### which
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a which -d 'Show the full path for the given Ruby command'
|
||||
complete -f -c rbenv -n '__fish_rbenv_needs_command' -a which -d 'Show the full path for the given Ruby executable'
|
||||
complete -f -c rbenv -n '__fish_rbenv_using_command which' -a '(__fish_rbenv_executables)'
|
||||
|
|
Loading…
Reference in a new issue