It's impossible to disable -n so it's better to remove it.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 30 Aug 2017 10:37:48 +0300
changeset 884 e400725dd13d
parent 883 7001332f188e
child 885 bfbd7fdc89f8
It's impossible to disable -n so it's better to remove it.
.bashrc
--- a/.bashrc	Mon Aug 28 20:47:24 2017 +0300
+++ b/.bashrc	Wed Aug 30 10:37:48 2017 +0300
@@ -142,7 +142,7 @@
 complete -F _mypath mypath
 
 # LANG=C for speed.
-alias grep='GREP_COLOR="31;47" LANG=C grep -n --color=auto'
+alias grep='GREP_COLOR="31;47" LANG=C grep --color=auto'
 case $OSTYPE in
   linux*|cygwin) alias ls='ls --color=auto' ;;
 esac