mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
6a60377e02
darcs-hash:20070128032652-ac50b-dae70e7b2efddbc757aae8bc7d1884ff5e010621.gz
13 lines
557 B
Fish
13 lines
557 B
Fish
|
|
complete -c env -a "(set -n)=" -x --description "Redefine variable"
|
|
|
|
complete -c env -a "(__fish_complete_subcommand -- -u --unset)" --description "Command"
|
|
|
|
complete -c env -s i -l ignore-environment --description "Start with an empty environment"
|
|
complete -c env -s u -l unset --description "Remove variable from the environment" -x -a "(set -n)"
|
|
complete -c env -l help --description "Display help and exit"
|
|
complete -c env -l version --description "Display version and exit"
|
|
|
|
# Since env runs subcommands, it can accept any switches
|
|
complete -c env -u
|