On 10/27/2010 12:30 PM, Matt Graham wrote:
From: Eric Shubert<[email protected]>
I always take the later route, using scripts in favor of aliases. I
never really liked using aliases. I don't like changing the behavior of
commands that already exist, as that tends to break other things.
"Alias" is sort of a misnomer since you can create a new syntactic sugar-like
command instead of changing the behavior of an existing one. I've had these
in my .bashrc for over 10 years now:
alias ..='cd ..'
alias ...='cd ../..'
....and I don't believe you can write a script named ".." without a lot of
fooling around....
What happens though when you try to use the real command? Does it result in:
$ cd cd ..
?
--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss