summary refs log tree commit diff
path: root/Completion/Unix/Command
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/Unix/Command
parent4e51079f0bfc2fa0085376a56f3002370d90e99a (diff)
downloadzsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.tar.gz
zsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.tar.xz
zsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.zip
39410: Fix unintentional history modifiers.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_dsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_dsh b/Completion/Unix/Command/_dsh
index 8c5c23208..fc7680062 100644
--- a/Completion/Unix/Command/_dsh
+++ b/Completion/Unix/Command/_dsh
@@ -25,7 +25,7 @@ _arguments -s -C -S \
   '*::args: _normal' && return
 
 if [[ $state = groups ]]; then
-  if ! zstyle -s ":completion:$curcontext:dsh-groups" dsh-groups grp; then
+  if ! zstyle -s ":completion:${curcontext}:dsh-groups" dsh-groups grp; then
     [[ -e ~/.dsh/group ]] && grp="~/.dsh/group" || return 1
   fi
   _path_files -W ~/.dsh/group && return