From f08042943917b9381e56f387fe0a20f1933a4024 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 25 May 2015 16:52:02 +0200 Subject: [PATCH] 35285: _cdr: fix zstyle lookup for recent-dirs-insert The string was quoted incorrectly and missed the final ":". --- ChangeLog | 5 +++++ Functions/Chpwd/_cdr | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 45f398448..dd8a2453a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-05-27 Daniel Hahler + + * 35285: Functions/Chpwd/_cdr: fix zstyle lookup for + recent-dirs-insert. + 2015-05-27 Peter Stephenson * Han Pingtian: 35299: Functions/Zftp/zfdir: improve effect of 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