zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _cdr: fix zstyle lookup for recent-dirs-insert
@ 2015-05-25 14:52 Daniel Hahler
  0 siblings, 0 replies; only message in thread
From: Daniel Hahler @ 2015-05-25 14:52 UTC (permalink / raw)
  To: zsh-workers

From: Daniel Hahler <git@thequod.de>

---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-25 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 14:52 [PATCH] _cdr: fix zstyle lookup for recent-dirs-insert Daniel Hahler

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).