- Added some alias for coloration

This commit is contained in:
dbroqua 2017-07-23 12:28:18 +02:00
parent 1e9a06a0ca
commit 3631850af8

21
zshrc
View File

@ -56,6 +56,24 @@ source $ZSH/oh-my-zsh.sh
# export LANG=en_US.UTF-8
export EDITOR='vim'
export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m' # begin bold
export LESS_TERMCAP_md=$'\E[1;36m' # begin blink
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
man() {
LESS_TERMCAP_md=$'\e[01;31m' \
LESS_TERMCAP_me=$'\e[0m' \
LESS_TERMCAP_se=$'\e[0m' \
LESS_TERMCAP_so=$'\e[01;44;33m' \
LESS_TERMCAP_ue=$'\e[0m' \
LESS_TERMCAP_us=$'\e[01;32m' \
command man "$@"
}
alias ls="ls --color=auto"
alias mv="mv -v"
@ -64,6 +82,9 @@ alias ll="ls -l"
alias llh="ls -lh"
alias grep="grep --color=auto -n"
alias xres="xrdb ~/.Xresources"
alias diff='diff --color=auto'
# Battery Remaining