1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

35285: _cdr: fix zstyle lookup for recent-dirs-insert

The string was quoted incorrectly and missed the final ":".
This commit is contained in:
Daniel Hahler 2015-05-25 16:52:02 +02:00
parent 2d86de91c1
commit f080429439
2 changed files with 6 additions and 1 deletions

View file

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