mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
completions/env: Inhibit files
(Also remove annoying "commmand" description) [ci skip]
This commit is contained in:
parent
e91eb85949
commit
0784b76570
1 changed files with 3 additions and 1 deletions
|
@ -22,8 +22,10 @@ function __fish_complete_env_subcommand
|
|||
return 1
|
||||
end
|
||||
|
||||
# Files aren't useful with env. They are correctly suggested with the command.
|
||||
complete -c env -f
|
||||
|
||||
complete -c env -a "(__fish_complete_env_subcommand)" -d "Command"
|
||||
complete -c env -a "(__fish_complete_env_subcommand)" # -d "Command"
|
||||
|
||||
complete -c env -n 'not __fish_complete_env_subcommand' -a "(set -n)=" -x -d "Redefine variable"
|
||||
complete -c env -n 'not __fish_complete_env_subcommand' -s i -l ignore-environment -d "Start with an empty environment"
|
||||
|
|
Loading…
Reference in a new issue