From 92e8f6612c81c805139c562fe666a37bee5df0fe Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 15 Jun 2018 13:05:10 +0200 Subject: Add grep match colorization to the user profile --- make_slackware_live.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'make_slackware_live.sh') 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 -- cgit v1.2.3