From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Command completion: avoiding completion on directories
Date: Sun, 23 Jul 2006 15:53:32 +0200 [thread overview]
Message-ID: <20060723135332.GJ16265@prunille.vinc17.org> (raw)
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
reply other threads:[~2006-07-23 13:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060723135332.GJ16265@prunille.vinc17.org \
--to=vincent@vinc17.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).