2
In my .bashrc I have the following lines to turn on colors for grep and ls
alias ls='ls --color=auto'
export GREP_OPTIONS='--color=auto'
I've tried changing the alias to export LS_OPTIONS='--color=auto'
but that doesn't work.
Is there anyway to use an export instead of alias. And are there actually any benefits to one way over the other?