color codes
parent
7636afb4b8
commit
50c4b2ed55
@ -0,0 +1,12 @@
|
|||||||
|
#-------- Color Commands
|
||||||
|
if [ -x /usr/bin/dircolors ]; then
|
||||||
|
eval "`dircolors -b`"
|
||||||
|
#alias ls='ls --color=auto'
|
||||||
|
alias dir='dir --color=auto'
|
||||||
|
alias vdir='vdir --color=auto'
|
||||||
|
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias fgrep='fgrep --color=auto'
|
||||||
|
alias egrep='egrep --color=auto'
|
||||||
|
fi
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
#-------- Color Manpages
|
||||||
|
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
|
||||||
|
export LESS_TERMCAP_md=$'\E[01;31m' # begin bold
|
||||||
|
export LESS_TERMCAP_me=$'\E[0m' # end mode
|
||||||
|
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
|
||||||
|
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin standout-mode - info box
|
||||||
|
export LESS_TERMCAP_ue=$'\E[0m' # end underline
|
||||||
|
export LESS_TERMCAP_us=$'\E[01;32m' # begin underline
|
||||||
|
#export MANPAGER="/usr/bin/most -s" # color using most
|
||||||
|
|
Loading…
Reference in New Issue