aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/env.fish
blob: c6359da0a385d9938151f09d4a11f25b7fbf80a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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