From b9dd057a04804d7ecd7eff3cad1925b7a580473f Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 26 Feb 2015 21:43:33 +0100 Subject: [PATCH] Make enable/disable completions work again Was single-quoted, should have been double-quoted --- share/completions/systemctl.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/systemctl.fish b/share/completions/systemctl.fish index 39d706fe5..748462f93 100644 --- a/share/completions/systemctl.fish +++ b/share/completions/systemctl.fish @@ -37,8 +37,8 @@ end # Enable/Disable: Only show units with matching state 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 disable" -a '(eval __fish_systemctl_$t --state=enabled)' + 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)" end # These are useless for the other commands