From: John Riddoch <jr@scms.rgu.ac.uk>
To: dominik.vogt@gmx.de
Cc: zsh-users@sunsite.auc.dk
Subject: Re: cd directory completion?
Date: Mon, 23 Aug 1999 14:26:26 +0100 (BST) [thread overview]
Message-ID: <19990823132626.Y7kAx-b-AI0VMwgraIEeojSIoSm7sl4sOMZn6GXbOKM@z> (raw)
>I'd like to have cd complete directory names as well as
>symlinks that point to directories (zsh-3.0.6). Is there
>a way to do this without writing a completion function?
>(And I don't want to fiddle with any 'chase symlink' setting
>there may be - I like them the way they are). I couldn't
>find anything appropriate in the man page. If it's not
>possible without a function, has anybody written one and
>can send it to me?
I have:
compctl -g '*(-/)' + -g '.*(-/)' -v cd pushd rmdir
in my .zshrc file and it works fine for me, completing between dirs and
symlinks to dirs and ignoring files. I think I got it from www.dotfiles.com
>P.S.: please CC me on replies, I'm not on the list.
Well, you probably should be...
--
John Riddoch Email: jr@scms.rgu.ac.uk Telephone: (01224)262721
Room C6, School of Computer and Mathematical Science
Robert Gordon University, Aberdeen, AB25 1HG
I am Homer of Borg. Resistance is Fu... Ooooh! Donuts!
next reply other threads:[~1999-08-23 13:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-23 13:26 John Riddoch [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-08-23 14:07 Sven Wischnowsky
1999-08-23 13:26 Sven Wischnowsky
1999-08-23 14:03 ` Dominik Vogt
1999-08-23 14:09 ` Swen Thuemmler
1999-08-23 13:22 Dominik Vogt
1999-08-23 13:35 ` Andre Pang
1999-08-23 14:07 ` Dominik Vogt
1999-08-23 15:03 ` Sweth Chandramouli
1999-08-25 4:32 ` Bek Oberin
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=19990823132626.Y7kAx-b-AI0VMwgraIEeojSIoSm7sl4sOMZn6GXbOKM@z \
--to=jr@scms.rgu.ac.uk \
--cc=dominik.vogt@gmx.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).