Re: suggestion: $LS_ARGS (original) (raw)

Hi folks,

I would like to suggest to introduce an environment variable "LS_ARGS", holding the default arguments to ls (similar to $LESS).

This could help to simplify the user environment. You don't have to create clumsy aliases for ls anymore, but you could set

    export LS_ARGS="--color=never --quoting-style=escape"

in your .bashrc without affecting foreign ls implementations (AIX, OpenBSD, Solaris, etc).