summary refs log tree commit diff
path: root/Functions/Chpwd
diff options
context:
space:
mode:
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