From 6d39d319d54c5385e9db345e0ff5a9640cc4190d Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Mon, 20 May 2024 14:49:16 -0600 Subject: Alias grep to always use color In the global /etc/dwvshrc file, alias grep so that it always displays with color by default. --- dist/etc/dwvshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/etc/dwvshrc b/dist/etc/dwvshrc index 30db65a..0db4ceb 100644 --- a/dist/etc/dwvshrc +++ b/dist/etc/dwvshrc @@ -1,5 +1,8 @@ #!/usr/bin/env dwvsh +# Alias the grep command +alias grep='grep --color=always' + # Alias the which command alias which='alias | /usr/bin/which --tty-only --read-alias --show-tilde --show-dot' -- cgit v1.2.3