my favorite alias
alias lsd="ls -d */"


On Wed, Oct 27, 2010 at 2:34 PM, Eric Shubert <ejs@shubes.net> wrote:
On 10/27/2010 02:28 PM, der.hans wrote:
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'

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.


I'm still opposed to using aliases to change data retention behavior for
commands such as aliasing rm to rm -i.

+1


--
-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



--
Mike Hoy