my favorite alias
On 10/27/2010 02:28 PM, der.hans wrote:That's cosmetic, so I really don't mind that too much. I'd prefer a new command be used though, such as lsc in this case, or such as ll being aliased to `ls -l`. I dislike its use to alter the behavior/defaults of existing commands though.
Am 27. Oct, 2010 schwätzte Eric Shubert so:
Thanks for clearing that up for me hans (and Dale).
I'll still steer clear of aliases though. When I find myself doing
something repetitively, I'll write a script. ;)
I also prefer scripts, but I don't have any good reasons to not use
aliases.
The reason you find they can introduce confusion is actually a good reason
to use them, e.g. the ls alias available on most distros at this point
that turn on colorized output.
$ type ls
ls is aliased to `ls --color=auto'
+1
I'm still opposed to using aliases to change data retention behavior for
commands such as aliasing rm to rm -i.
--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss