1
0
mirror of https://github.com/akelge/zsh synced 2025-09-19 04:12:53 +00:00
This commit is contained in:
2024-10-30 11:02:28 +01:00
parent 9dd1f6819f
commit 5e4504749f
9 changed files with 57 additions and 47 deletions

View File

@ -25,7 +25,36 @@ VISUAL=vim
export QUOTING_STYLE=escape
#######################################################################################
# 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
local LESSOPEN_SCRIPT=$(whence lesspipe lesspipe.sh)
if [ $LESSOPEN_SCRIPT ]; then
LESSOPEN="|${LESSOPEN_SCRIPT} %s"
LESS_ADVANCED_PREPROCESSOR=1
export LESSOPEN
export LESS_ADVANCED_PREPROCESSOR
fi
# Set umask to collaborative mode
umask 002
# vim: set ts=4 sw=4 tw=0 ft=zsh :
# vim: set ts=4 sw=4 tw=0 ft=zsh :