diff --git a/color_commands.txt b/color_commands.txt new file mode 100644 index 0000000..d18b8ec --- /dev/null +++ b/color_commands.txt @@ -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 + diff --git a/color_manpages.txt b/color_manpages.txt new file mode 100644 index 0000000..f81a220 --- /dev/null +++ b/color_manpages.txt @@ -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 +