zsh-users
 help / color / mirror / code / Atom feed
* completion for dotdirs/symlinks to directories
@ 2002-08-27 21:34 Eric.D.Friedman
  2002-08-28 11:13 ` Phil Pennock
  0 siblings, 1 reply; 3+ messages in thread
From: Eric.D.Friedman @ 2002-08-27 21:34 UTC (permalink / raw)
  To: zsh-users

Hello,

My .zshrc currently uses the following set for completing "cd" and friends:

# cd/pushd only directories or symbolic links to directories
compctl -g '*(-/)' cd chdir dirs pushd
# skips CVS when changing directories
# compctl -g '*~(*/)#CVS(/)' cd
compctl -g '*(-/)' -g '*~(*/)#CVS(/)' cd chdir dirs pushd

My goal is to be able to skip past CVS directories when completing a path
and to have only directories and symlinks to directories be legal completion
targets.

Currently there are two problems:

(1) I can't get completions for directories that start with a "."  ; and

(2) symlinks to directories do not work.

I'm using zsh-4.0.2 on solaris.

I tried putting "D" in the first completion rule [ as in -g "$(D-/)" ] but
that didn't work out.

Can anyone set me straight?

Thanks,
Eric


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

end of thread, other threads:[~2002-08-28 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-27 21:34 completion for dotdirs/symlinks to directories Eric.D.Friedman
2002-08-28 11:13 ` Phil Pennock
2002-08-28 20:32   ` Phil Pennock

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