Browse Source

Add colouring aliases

umatrix-rules
Pearu Vaalma 4 years ago
parent
commit
1f06ce0269
  1. 13
      zsh/.zshrc

13
zsh/.zshrc

@ -13,3 +13,16 @@ eval $(thefuck --alias)
export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh 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

Loading…
Cancel
Save