mirror of
https://github.com/akelge/zsh
synced 2025-07-04 05:29:06 +00:00
migration
This commit is contained in:
20
zsh.d/30-less.zsh
Normal file
20
zsh.d/30-less.zsh
Normal file
@ -0,0 +1,20 @@
|
||||
#######################################################################################
|
||||
# Setup LESS
|
||||
|
||||
## make less colourful
|
||||
LESS_TERMCAP_mb=$'\E[01;34m' # begin blinking
|
||||
LESS_TERMCAP_md=$'\E[01;36m' # begin bold
|
||||
LESS_TERMCAP_me=$'\E[0m' # end mode
|
||||
LESS_TERMCAP_so=$'\E[01;47;34m' # begin standout-mode - info box
|
||||
LESS_TERMCAP_se=$'\E[0m' # end standout-mode
|
||||
LESS_TERMCAP_us=$'\E[04;32m' # begin underline
|
||||
LESS_TERMCAP_ue=$'\E[0m' # end underline
|
||||
|
||||
LESS="-c -x4 -R -MM -PMFile\:?f%f:STDIN. ?BSize\:?B%B:Unk.?B\:?pb%pb\%:Unk.?B\:%i/%m"
|
||||
LESSCHARSET=utf-8
|
||||
READNULLCMD=/usr/bin/less
|
||||
PAGER=/usr/bin/less
|
||||
|
||||
export LESS
|
||||
export PAGER
|
||||
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|
Reference in New Issue
Block a user