zsh-users
 help / color / mirror / code / Atom feed
From: Bek Oberin <gossamer@tertius.net.au>
To: zsh-users@math.gatech.edu
Subject: Re: Directory completion
Date: Tue, 27 Oct 1998 13:30:30 +1100	[thread overview]
Message-ID: <19981027133030.G6044@tertius.net.au> (raw)
In-Reply-To: <19981026212357.A11733@mibarnes.lib.vt.edu>; from Michael Barnes on Mon, Oct 26, 1998 at 09:23:57PM -0500

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


  reply	other threads:[~1998-10-27  2:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-27  2:00 Gossamer
1998-10-27  2:23 ` Michael Barnes
1998-10-27  2:30   ` Bek Oberin [this message]
1998-10-27  3:02 ` Bart Schaefer

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=19981027133030.G6044@tertius.net.au \
    --to=gossamer@tertius.net.au \
    --cc=zsh-users@math.gatech.edu \
    /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).