diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -39,16 +39,13 @@ alias ccat="highlight --out-format=ansi" alias config="/usr/bin/git --git-dir=$HOME/.cfg --work-tree=$HOME" # Have manpages use colors -man() { - env \ - LESS_TERMCAP_md=$'\e[1;36m' \ - LESS_TERMCAP_me=$'\e[0m' \ - LESS_TERMCAP_se=$'\e[0m' \ - LESS_TERMCAP_so=$'\e[1;92m' \ - LESS_TERMCAP_ue=$'\e[0m' \ - LESS_TERMCAP_us=$'\e[1;35m' \ - man "$@" -} +export LESS_TERMCAP_md=$'\e[1;36m' +export LESS_TERMCAP_me=$'\e[0m' +export LESS_TERMCAP_se=$'\e[0m' +export LESS_TERMCAP_so=$'\e[1;92m' +export LESS_TERMCAP_ue=$'\e[0m' +export LESS_TERMCAP_us=$'\e[1;35m' +export GROFF_NO_SGR=1 # exit bad [ $NOEXIT ] && alias exit="echo Exiting is disabled" |