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