zsh-users
 help / color / mirror / code / Atom feed
* cdr completion
@ 2014-02-18 14:27 Yuri D'Elia
  2014-02-18 15:45 ` Peter Stephenson
  0 siblings, 1 reply; 6+ messages in thread
From: Yuri D'Elia @ 2014-02-18 14:27 UTC (permalink / raw)
  To: zsh-users

With:

autoload -Uz chpwd_recent_dirs cdr add-zsh-hook
add-zsh-hook chpwd chpwd_recent_dirs
zstyle ':chpwd:*' recent-dirs-default true
zstyle ':completion:*' recent-dirs-insert always

the command:

cdr ~<TAB>

will still try to complete usernames (for the ~user home directory
completion), which is something I'd like to avoid.

Is this avoidable?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-18 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 14:27 cdr completion Yuri D'Elia
2014-02-18 15:45 ` Peter Stephenson
2014-02-18 16:34   ` Yuri D'Elia
2014-02-18 16:56     ` Peter Stephenson
2014-02-18 17:48       ` Yuri D'Elia
2014-02-18 20:02       ` Yuri D'Elia

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