diff options
author | Rory Dudley | 2024-05-20 14:49:16 -0600 |
---|---|---|
committer | Rory Dudley | 2024-05-20 14:49:16 -0600 |
commit | 6d39d319d54c5385e9db345e0ff5a9640cc4190d (patch) | |
tree | ef3cab0b927fabdbf6e940ab293a8e6cbc524a31 | |
parent | c91b512ef3a463a5e7e7884d232f11501207ceb3 (diff) | |
download | dwarvish-6d39d319d54c5385e9db345e0ff5a9640cc4190d.tar.gz |
Alias grep to always use color
In the global /etc/dwvshrc file, alias grep so that it always displays
with color by default.
-rw-r--r-- | dist/etc/dwvshrc | 3 |
1 files changed, 3 insertions, 0 deletions
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' |