Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Directory completion
- X-seq: zsh-users 1885
- From: Bek Oberin <gossamer@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Directory completion
- Date: Tue, 27 Oct 1998 13:30:30 +1100
- In-reply-to: <19981026212357.A11733@xxxxxxxxxxxxxxxxxxx>; from Michael Barnes on Mon, Oct 26, 1998 at 09:23:57PM -0500
- References: <slrn73aa9c.7jf.gossamer@xxxxxxxxxxxxxx> <19981026212357.A11733@xxxxxxxxxxxxxxxxxxx>
Michael Barnes wrote:
> On Tue, Oct 27, 1998 at 02:00:13AM +0000, Gossamer wrote:
> > I have cd aliased to 'c', and wanted to get it so it only completed
> > on directories ... the obvious seemed to be this:
> Geesh, and i though i was lazy :)
*laughs* Actually I was simplifying. It's this:
c() { builtin cd $1 && ls --color -p -s; }
bekj
--
: --Neophilic-Hacker-Grrl-Geek-Eclectic-Gay-Disabled-Boychick--
: gossamer@xxxxxxxxxxxxxx http://www.tertius.net.au/~gossamer/
: Let me show you yesterday, the future in the sand. Let me find
: eternity right here within your hands. -- Cadhla
Messages sorted by:
Reverse Date,
Date,
Thread,
Author