summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-15 13:05:10 +0200
committer Eric Hameleers <alien@slackware.com>2018-06-15 13:05:10 +0200
commit92e8f6612c81c805139c562fe666a37bee5df0fe (patch)
tree21ac5d79c6e60b3b54dce4fc9881d0a392aa710f
parent8102e4dd0da67484eda49ff38dbe36e4f9922fad (diff)
downloadliveslak-92e8f6612c81c805139c562fe666a37bee5df0fe.tar.gz
liveslak-92e8f6612c81c805139c562fe666a37bee5df0fe.tar.xz
Add grep match colorization to the user profile
-rwxr-xr-xmake_slackware_live.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 559f606..680d128 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1578,6 +1578,10 @@ alias ll="ls -la $LS_OPTIONS"
lsp() { basename $(ls -1 "/var/log/packages/$@"*) ; }
alias md="mkdir"
alias tarview="tar -tvf"
+# GREP_OPTIONS="--color=auto" is deprecated, use alias to enable colored output:
+alias grep="grep --color=auto"
+alias fgrep="fgrep --color=auto"
+alias egrep="egrep --color=auto"
# Ctrl-D should not log us off immediately; now it needs 10 times:
set -o ignoreeof