updated stuff
This commit is contained in:
parent
94e80a9cc3
commit
5a349ef25f
1 changed files with 18 additions and 0 deletions
18
zsh/plgs/colorman.zsh
Normal file
18
zsh/plgs/colorman.zsh
Normal 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 "$@"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue