*BSD News Article 84067


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!newsfeed.internetmci.com!in1.uu.net!192.89.123.24!nntp.inet.fi!news.funet.fi!news.cs.hut.fi!news.clinet.fi!not-for-mail
From: mickey@cantina.clinet.fi (Mika Ruohotie)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: slightly related...
Date: 2 Dec 1996 15:55:54 +0200
Organization: Clinet, Espoo, Finland
Lines: 32
Message-ID: <57un5a$gcd@cantina.clinet.fi>
References: <stanbE1M2D2.38I@netcom.com> <57m6f4$2dl@uriah.heep.sax.de> <stanbE1nxGM.M0L@netcom.com>
NNTP-Posting-Host: cantina.clinet.fi
NNTP-Posting-User: mickey

this is somewhat related question...

i'd like to get one feature to my zsh but am lacking the knowldge... the
system where i learned freebsd (version 1.0 i believe, years ago) did
have it...

the tab-key does fill the end of the typed words, unless there's several
possible matches... now, how can i make it to list those available
matches?

example:

lets assume i have files foo, bar, fooporo and barporo

when i do:

shadows% rm *poro    (hitting the tab key here)

the machie should display

shadows% rm *poro
fooporo		barporo

and the cursor "remains" in the command line.

i'm sure it's something trivial for shell scripting experts. and it would
be really useful...


mickey
--
    mika ruohotie     mika@aeon.net