home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!decwrl!autodesk!dansmith
- From: dansmith@Autodesk.COM (Daniel Smith)
- Newsgroups: comp.unix.shell
- Subject: Re: alias probem in tcsh and csh
- Message-ID: <18274@autodesk.COM>
- Date: 4 Jan 93 05:10:38 GMT
- References: <1993Jan3.181726.3147@mnemosyne.cs.du.edu>
- Organization: Autodesk Inc., Sausalito CA, USA
- Lines: 26
-
- In <1993Jan3.181726.3147@mnemosyne.cs.du.edu> rduta@nyx.cs.du.edu (Radu) writes:
-
- > I was trying to create some aliases for ls, and i ran into some minor
- > problems, well for starters i'll list my aliases:
- > alias ls 'ls -F \!* | more'
- > alias dir 'ls -aol '
-
- > Ok, her's are the problems: I'd like to put a "more" in the dir alias as well,
- > but it conflicts with the ls, and the space bar doesn't work for paging any
-
- use absolute pathnames:
-
- if (! $?PAGER) setenv PAGER /usr/ucb/more
- alias ls '/bin/ls -F \!* | $PAGER'
- alias dir '/bin/ls -aol \!* | $PAGER'
-
- or:
-
- alias dir '\ls -aol'
-
- Daniel
- --
- dansmith@autodesk.com daniel@world.std.com dansmith@well.sf.ca.us
- Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580
- c'mon over and do the twist / overdo it, and have a fit
- love you so much, you make me sick / c'mon over and do the twist - Nirvana
-