updated stuff

This commit is contained in:
Nikolas Weger 2020-06-24 07:24:32 +02:00
parent 94e80a9cc3
commit 5a349ef25f

18
zsh/plgs/colorman.zsh Normal file
View file

@ -0,0 +1,18 @@
function colored() {
command env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
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") \
PAGER="${commands[less]:-$PAGER}" \
_NROFF_U=1 \
PATH="$HOME/bin:$PATH" "$@"
}
# Colorize man and dman/debman (from debian-goodies)
function man dman debman {
colored $0 "$@"
}