]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
contrib: fix saved profile completion
authorVincent Bernat <vincent@bernat.ch>
Fri, 31 Jan 2020 09:25:35 +0000 (10:25 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Fri, 31 Jan 2020 10:41:08 +0000 (11:41 +0100)
contrib/zsh_completion/_autorandr

index 96e7f7b432d889c8fa687bed57a8b11719e345c3..b6cacbb1d3ad42807d6e06e9ed175705d45af424 100644 (file)
@@ -12,7 +12,7 @@ __autorandr_profile () {
 }
 __autorandr_saved_profile () {
     declare -a saved
-    saved=(${${(f)${:-$(autorandr)}}/ /:})
+    saved=(${${(f)${:-"$(autorandr)"}}/ /:})
     _describe -t profiles "saved profiles" saved
 }