diff --git a/zsh/.zshrc b/zsh/.zshrc index dcdcf38..b27a84f 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -13,3 +13,16 @@ eval $(thefuck --alias) export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh +alias diff='diff --color=auto' +alias grep='grep --color=auto' +alias ip='ip --color=auto' + +export LESS=-R +export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink +export LESS_TERMCAP_md=$'\E[1;36m' # begin bold +export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink +export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video +export LESS_TERMCAP_se=$'\E[0m' # reset reverse video +export LESS_TERMCAP_us=$'\E[1;32m' # begin underline +export LESS_TERMCAP_ue=$'\E[0m' # reset underline +