summary refs log tree commit diff
path: root/Functions/Chpwd
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-05-25 16:52:02 +0200
committerDaniel Hahler <git@thequod.de>2015-05-27 19:35:59 +0200
commitf08042943917b9381e56f387fe0a20f1933a4024 (patch)
tree5806001cb1d78f7d4bf79a5be2fcb3c61e8d7d35 /Functions/Chpwd
parent2d86de91c1bb215a12751525c0f02a04c05385ea (diff)
downloadzsh-f08042943917b9381e56f387fe0a20f1933a4024.tar.gz
zsh-f08042943917b9381e56f387fe0a20f1933a4024.tar.xz
zsh-f08042943917b9381e56f387fe0a20f1933a4024.zip
35285: _cdr: fix zstyle lookup for recent-dirs-insert
The string was quoted incorrectly and missed the final ":".
Diffstat (limited to 'Functions/Chpwd')
-rw-r--r--Functions/Chpwd/_cdr2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Chpwd/_cdr b/Functions/Chpwd/_cdr
index 2f52ff54b..3a1e9bde8 100644
--- a/Functions/Chpwd/_cdr
+++ b/Functions/Chpwd/_cdr
@@ -5,7 +5,7 @@ integer default insert
 
 zstyle -t ':chpwd:' recent-dirs-default && default=1
 if (( default )); then
-  zstyle -s ':completion:${curcontext}' recent-dirs-insert insert_string
+  zstyle -s ":completion:${curcontext}:" recent-dirs-insert insert_string
   case $insert_string in
     (both)
     insert=4