2006-12-04 19:58:38 +08:00
|
|
|
|
2007-01-16 09:18:28 +08:00
|
|
|
complete -c env -a "(set -n)=" -x --description "Redefine variable"
|
2006-12-04 19:58:38 +08:00
|
|
|
|
2007-01-16 09:18:28 +08:00
|
|
|
complete -c env -a "(__fish_complete_subcommand -- -u --unset)" --description "Command"
|
2006-12-04 19:58:38 +08:00
|
|
|
|
2007-01-16 09:18:28 +08:00
|
|
|
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"
|
2006-12-04 19:58:38 +08:00
|
|
|
|
2007-01-28 11:26:52 +08:00
|
|
|
# Since env runs subcommands, it can accept any switches
|
|
|
|
complete -c env -u
|