From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3683 invoked from network); 27 Oct 1998 02:33:21 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Oct 1998 02:33:21 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id VAA28848; Mon, 26 Oct 1998 21:26:28 -0500 (EST) Resent-Date: Mon, 26 Oct 1998 21:26:23 -0500 (EST) Message-ID: <19981027133030.G6044@tertius.net.au> Date: Tue, 27 Oct 1998 13:30:30 +1100 From: Bek Oberin To: zsh-users@math.gatech.edu Subject: Re: Directory completion References: <19981026212357.A11733@mibarnes.lib.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <19981026212357.A11733@mibarnes.lib.vt.edu>; from Michael Barnes on Mon, Oct 26, 1998 at 09:23:57PM -0500 X-Religion: linux slrn mutt vim Resent-Message-ID: <"b5v2N.0.G27.FzIDs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1885 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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@tertius.net.au 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