home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!jefouger
- From: jefouger@nyx.cs.du.edu (Jim Fougeron)
- Subject: Re: alias probem in tcsh and csh
- Message-ID: <1993Jan4.083056.28381@mnemosyne.cs.du.edu>
- Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
- Organization: University of Denver, Dept. of Math & Comp. Sci.
- References: <1993Jan3.181726.3147@mnemosyne.cs.du.edu>
- Date: Mon, 4 Jan 93 08:30:56 GMT
- Lines: 28
-
- 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
- >more. The second probelm i encountered was doing something like "ls m*", it
- >listed all the files, then went ahead and started to list the contents of the
- >files, as thought I did a "more m*". I'm not sure what the problem is so
- >if anyone has any ideas on what is going wrong or ways to solve the problem
- >please let me know.
- >(i'd like to add the "\!*" to the dir alias as well)
-
- try this for dir: alias dir '/bin/ls -aol \!* | more'
-
- >radu
-
- >--
- >********************************************************************************
- >I only kill to know I'm alive!
- --
- ---------------------------- ^ What is the TRUE meaning of happiness? ^
- | Jim Fougeron | ^ Is it money, cars and women, ^
- | jefouger@nyx.cs.du.edu | ^ or just money and cars ^
- ---------------------------- ^ - Calvin and Hobbes. - ^
-