* named directories and directory completion
@ 2002-01-15 11:13 Dominik Vogt
0 siblings, 0 replies; only message in thread
From: Dominik Vogt @ 2002-01-15 11:13 UTC (permalink / raw)
To: zsh-users
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-15 11:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-15 11:13 named directories and directory completion Dominik Vogt
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).