From bd9db209fd1219c40190156c71a38c338e436a25 Mon Sep 17 00:00:00 2001 From: finga Date: Mon, 31 Aug 2020 20:01:28 +0200 Subject: [PATCH] Add linenum to `grep` and color to `diff` --- .zshenv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshenv b/.zshenv index 5589686..539e0b9 100644 --- a/.zshenv +++ b/.zshenv @@ -16,7 +16,8 @@ alias chgrp='chgrp --preserve-root' alias pgrep='pgrep -a' alias less='less -r' -alias grep='grep --color=always' +alias grep='grep --color=always -n' +alias diff='diff --color=always' alias mkdir='mkdir -p -v' alias ping='ping -c 10' alias ls='ls --color=auto -h -l'