mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Make enable/disable completions work again
Was single-quoted, should have been double-quoted
This commit is contained in:
parent
369a09e57e
commit
b9dd057a04
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ end
|
||||||
|
|
||||||
# Enable/Disable: Only show units with matching state
|
# Enable/Disable: Only show units with matching state
|
||||||
for t in services sockets timers service_paths
|
for t in services sockets timers service_paths
|
||||||
complete -f -c systemctl -n "__fish_seen_subcommand_from enable" -a '(eval __fish_systemctl_$t --state=disabled)'
|
complete -f -c systemctl -n "__fish_seen_subcommand_from enable" -a "(eval __fish_systemctl_$t --state=disabled)"
|
||||||
complete -f -c systemctl -n "__fish_seen_subcommand_from disable" -a '(eval __fish_systemctl_$t --state=enabled)'
|
complete -f -c systemctl -n "__fish_seen_subcommand_from disable" -a "(eval __fish_systemctl_$t --state=enabled)"
|
||||||
end
|
end
|
||||||
|
|
||||||
# These are useless for the other commands
|
# These are useless for the other commands
|
||||||
|
|
Loading…
Reference in a new issue