mirror of
https://github.com/fenetikm/falcon.git
synced 2024-10-26 17:01:14 +03:00
Add in zsh / man less config.
This commit is contained in:
parent
011a43e33b
commit
516dda0f15
20
zsh/falcon.zsh
Normal file
20
zsh/falcon.zsh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
# add in colouring to man
|
||||||
|
# mb = blink
|
||||||
|
# md = begin bold
|
||||||
|
# me = end mode
|
||||||
|
# se = end stand out
|
||||||
|
# so = begin stand out
|
||||||
|
# ue = end underline
|
||||||
|
# us = begin underline
|
||||||
|
man() {
|
||||||
|
LESS_TERMCAP_mb=$'\e[01;31m' \
|
||||||
|
LESS_TERMCAP_md=$'\e[01;97m' \
|
||||||
|
LESS_TERMCAP_me=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_so=$'\e[01;48;5;117;30m' \
|
||||||
|
LESS_TERMCAP_se=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_ue=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_us=$'\e[04;94m' \
|
||||||
|
command man "$@"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user