diff --git a/bashrc b/bashrc index 54caf90..93a46c9 100755 --- a/bashrc +++ b/bashrc @@ -213,6 +213,18 @@ fi alias setup.py="sudo python3 setup.py install --record files.txt" +man() { + env \ + LESS_TERMCAP_mb=$(printf "\e[1;35m") \ + LESS_TERMCAP_md=$(printf "\e[1;31m") \ + LESS_TERMCAP_me=$(printf "\e[0m") \ + LESS_TERMCAP_se=$(printf "\e[0m") \ + LESS_TERMCAP_so=$(printf "\e[1;44;33m") \ + LESS_TERMCAP_ue=$(printf "\e[0m") \ + LESS_TERMCAP_us=$(printf "\e[1;32m") \ + command man "$@" +} + scr(){ _tformat="%Y%m%d-%H%M%S%z" _file=`date +${_tformat}`.script