[packages/grep] - move from GREP_OPTIONS environmental variable to alias due to its obsolescence
glen at pld-linux.org
Wed Dec 10 14:00:58 CET 2014
On 10.12.2014 14:50, Jacek Konieczny wrote:
> If anybody needs custom options to any shell command he can prepare an
> alias that suits him and his shell most.
so as original changeset author is not making any movements (adwol),
let's remove the aliases completely.
i totally dislike such alias being enabled by default. i have my own,
and this one will ovewrite mine (because it's after entry in shrc.d)
as for alias itself, no need to specify full path, alias grep="grep
--color=always" works fine, is not recursive, it's recursive if you use
function, and there you can use \grep:
\grep --color=always "$@"
above works for bash, others can use "builtin" or "command" prefix.
More information about the pld-devel-en