Gentoo Archives: gentoo-user

From: Hilco Wijbenga <hilco.wijbenga@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Time to move on?
Date: Tue, 24 Mar 2009 00:42:11
Message-Id: e95b15950903231742u4df3906aid87747c00ab809f2@mail.gmail.com
In Reply to: Re: [gentoo-user] Time to move on? by Dale
1 2009/3/23 Dale <rdalek1967@×××××.com>:
2 > Oh, OK.  <Dale waves hand over head.>  If it is set up to add that
3 > option, how do you tell it not to use it?
4
5 alias ls='/bin/ls --color'
6 alias l='ls -l'
7
8 With these aliases in your .bashrc (or whatever is appropriate in your
9 environment), you can now use 'ls' and 'l'. Of course, you already had
10 'ls' (namely /bin/ls).
11
12 If you simply type 'ls' then you are using the alias and you get
13 colour output. If you don't want colour output you use '/bin/ls' (the
14 actual binary). Typing 'l' basically runs '/bin/ls --color -l'. If you
15 don't want that then you don't use 'l'.

Replies

Subject Author
Re: [gentoo-user] Time to move on? Dale <rdalek1967@×××××.com>