From: Dominik Vogt <dominik.vogt@gmx.de>
To: zsh-users@sunsite.auc.dk
Subject: named directories and directory completion
Date: Tue, 15 Jan 2002 12:13:27 +0100 [thread overview]
Message-ID: <20020115121327.D660@lifebits.de> (raw)
There seems to be a small problem with directory completion with
named directories. When I partially type the name of a named
directory and then hit TAB, I just get a beep and nothing is
completed. This only starts working when I visit the directory
once:
$ exec zsh
$ cd com<TAB>
--> beep
$ cd /net/server/share/common
$ cd ~
$ cd com<TAB>
--> name is completed
I guess I can somehow 'fix' this with the 'hash' command, but I'd
like to understand why this happens in the first place.
A partial list of settings im my zshrc:
----------------------------------- snip --------------------------------
# named directories and cd command
unsetopt AUTO_NAME_DIRS # parameters can be uses as named dirs
common=/net/server/share/common
setopt CDABLE_VARS # cd completions uses named dirs
setopt AUTO_CD # add cd if cmd is a directory name
cdpath=(. ~ /) # cd search path
# completion control
compctl -n -g '*(-/) .*(-/)' cd pushd mkdir
----------------------------------- snip --------------------------------
(zsh 3.1.9)
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, email: d.vogt@lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
reply other threads:[~2002-01-15 11:29 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=20020115121327.D660@lifebits.de \
--to=dominik.vogt@gmx.de \
--cc=d.vogt@lifebits.de \
--cc=zsh-users@sunsite.auc.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).