zsh-users
 help / color / mirror / code / Atom feed
* Command completion: avoiding completion on directories
@ 2006-07-23 13:53 Vincent Lefevre
  0 siblings, 0 replies; only message in thread
From: Vincent Lefevre @ 2006-07-23 13:53 UTC (permalink / raw)
  To: zsh-users

When I'm starting to type a command and hit [Tab], zsh tries to
complete on directories in cdpath too. I thought that the following
would work:

zstyle ':completion:*:complete:-command-:*' tag-order 'commands builtins functions aliases suffix-aliases reserved-words jobs parameters' '*'

but zsh still tries to complete on directories when a command exists,
and I still get after typing the beginning of a command, then ^Xh:

tags in context :completion::complete:-command-::
    commands executables builtins functions aliases suffix-aliases reserved-words jobs parameters  (_alternative _command_names _autocd) 
    jobs                                                                                           (_jobs _alternative _command_names _autocd) 
    parameters                                                                                     (_parameters _alternative _command_names _autocd) 
    path-directories named-directories                                                             (_alternative _cd _autocd) 
    users named-directories directory-stack                                                        (_tilde _alternative _cd _autocd) 
    users                                                                                          (_users _tilde _alternative _cd _autocd)

Why doesn't this work? What should I do?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


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

only message in thread, other threads:[~2006-07-23 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-23 13:53 Command completion: avoiding completion on directories Vincent Lefevre

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