aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-01-14 23:33:31 +0100
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-01-14 23:33:31 +0100
commit68fcb790b0725a08e82e2b823542e2e9695bbf90 (patch)
tree9795e30b573e5d9f0d16fa7ab44bbaccddb705f7 /share/completions
parent8db1a5fae797c03c439fa1c8bcdd3aa3c19691b2 (diff)
Add all boolean values to pacmd completion
PA accepts "0", "false" and "off" (among others) for false also for suspend-*.
Diffstat (limited to 'share/completions')
-rw-r--r--share/completions/pactl.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/pactl.fish b/share/completions/pactl.fish
index 5ac92e3f..6a0a3834 100644
--- a/share/completions/pactl.fish
+++ b/share/completions/pactl.fish
@@ -79,9 +79,9 @@ for t in source sink
complete -f -c pactl -n "__fish_seen_subcommand_from suspend-$t; and not __fish_seen_subcommand_from (__fish_pa_print_type "$t"s)" \
-a "(__fish_pa_complete_type "$t"s)"
complete -f -c pactl -n "__fish_seen_subcommand_from suspend-$t; and __fish_seen_subcommand_from (__fish_pa_print_type "$t"s)" \
- -a '0' -d "Resume"
+ -a '0 false off' -d "Resume"
complete -f -c pactl -n "__fish_seen_subcommand_from suspend-$t; and __fish_seen_subcommand_from (__fish_pa_print_type "$t"s)" \
- -a '1' -d "Suspend"
+ -a '1 true on' -d "Suspend"
complete -f -c pactl -n "__fish_seen_subcommand_from set-$t-port; and not __fish_seen_subcommand_from (__fish_pa_print_type "$t"s)" \
-a "(__fish_pa_complete_type "$t"s)"
complete -f -c pactl -n "__fish_seen_subcommand_from set-$t-port; and __fish_seen_subcommand_from (__fish_pa_print_type "$t"s)" \