update astronomix
This commit is contained in:
30
.bashrc
30
.bashrc
@ -76,9 +76,9 @@ if ${use_color} ; then
|
||||
fi
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --colour=auto'
|
||||
alias egrep='egrep --colour=auto'
|
||||
alias fgrep='fgrep --colour=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
else
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
# show root@ when we don't have colors
|
||||
@ -151,3 +151,27 @@ ex ()
|
||||
echo "'$1' is not a valid file"
|
||||
fi
|
||||
}
|
||||
|
||||
man(){
|
||||
export LESS_TERMCAP_mb=$'\e[0;103;30m' # start blink
|
||||
export LESS_TERMCAP_md=$'\e[1;32m' # start bold
|
||||
export LESS_TERMCAP_me=$'\e[0m' # turn off bold, blink and underline
|
||||
export LESS_TERMCAP_so=$'\e[0;103;30m' # start standout (reverse video)
|
||||
export LESS_TERMCAP_se=$'\e[0m' # stop standout
|
||||
export LESS_TERMCAP_us=$'\e[4;34m' # start underline
|
||||
export LESS_TERMCAP_ue=$'\e[0m' # stop underline
|
||||
command man "$@"
|
||||
export -n LESS_TERMCAP_mb
|
||||
export -n LESS_TERMCAP_md
|
||||
export -n LESS_TERMCAP_me
|
||||
export -n LESS_TERMCAP_so
|
||||
export -n LESS_TERMCAP_se
|
||||
export -n LESS_TERMCAP_us
|
||||
export -n LESS_TERMCAP_ue
|
||||
}
|
||||
|
||||
PATH="/home/user/flo/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||
PERL5LIB="/home/user/flo/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
||||
PERL_LOCAL_LIB_ROOT="/home/user/flo/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
||||
PERL_MB_OPT="--install_base \"/home/user/flo/perl5\""; export PERL_MB_OPT;
|
||||
PERL_MM_OPT="INSTALL_BASE=/home/user/flo/perl5"; export PERL_MM_OPT;
|
||||
|
||||
Reference in New Issue
Block a user