Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] _cdr: fix zstyle lookup for recent-dirs-insert



From: Daniel Hahler <git@xxxxxxxxxx>

---
 Functions/Chpwd/_cdr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Functions/Chpwd/_cdr b/Functions/Chpwd/_cdr
index 2f52ff5..3a1e9bd 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
-- 
2.4.1.dirty



Messages sorted by: Reverse Date, Date, Thread, Author