diff --git a/private_dot_bash/aliases b/private_dot_bash/aliases index 1272a3b..6b54456 100755 --- a/private_dot_bash/aliases +++ b/private_dot_bash/aliases @@ -54,9 +54,9 @@ alias ls="command ls ${colorflag}" # Always enable colored `grep` output # Note: `GREP_OPTIONS="--color=auto"` is deprecated, hence the alias usage. -if [ -x "$(command -v ripgrep)" ]; then +if [ -x "$(command -v rg)" ]; then # Use ripgrep if available - alias grep="ripgrep" + alias grep="rg" else alias grep='grep --color=auto' fi