about summary refs log tree commit diff
path: root/Completion/Darwin
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-09-22 11:43:17 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-09-22 21:02:45 +0000
commit7ecc3f8b4efe89ac539201ddfce087dca4ad77a9 (patch)
tree523813b0b638f0edd65abc4ffeac691f3f1b6771 /Completion/Darwin
parent4e51079f0bfc2fa0085376a56f3002370d90e99a (diff)
downloadzsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.tar.gz
zsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.tar.xz
zsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.zip
39410: Fix unintentional history modifiers.
Diffstat (limited to 'Completion/Darwin')
-rw-r--r--Completion/Darwin/Type/_retrieve_mac_apps4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Darwin/Type/_retrieve_mac_apps b/Completion/Darwin/Type/_retrieve_mac_apps
index ba15577e8..f24d36c3c 100644
--- a/Completion/Darwin/Type/_retrieve_mac_apps
+++ b/Completion/Darwin/Type/_retrieve_mac_apps
@@ -71,7 +71,7 @@ _retrieve_mac_apps() {
 
     # Get application search method
     typeset retrieve
-    if ! zstyle -s ":completion:*:*:$service:commands" search-method retrieve
+    if ! zstyle -s ":completion:*:*:${service}:commands" search-method retrieve
     then
       if [[ -d /.Spotlight-V100 ]]; then
         # / is indexed to use Spotlight
@@ -80,7 +80,7 @@ _retrieve_mac_apps() {
         # Fall back to the old way
         retrieve=_mac_apps_old_retrieve 
       fi
-      zstyle ":completion:*:*:$service:commands" search-method $retrieve
+      zstyle ":completion:*:*:${service}:commands" search-method $retrieve
     fi
 
     # Get root directories to search applications