mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:43:09 -03:00
completions/env: Inhibit files
(Also remove annoying "commmand" description) [ci skip]
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user