Add bat as PAGER if available
This commit is contained in:
parent
1d6313a4aa
commit
9a2abf9670
6
zshenv
6
zshenv
@ -42,8 +42,12 @@ fi
|
||||
## Pager (man,…) {{{
|
||||
if [ $(command -v vimmanpager) ]; then
|
||||
export PAGER=vimmanpager
|
||||
else
|
||||
elif [ $(command -v bat) ]; then
|
||||
export PAGER=bat
|
||||
elif [ $(command -v less) ]; then
|
||||
export PAGER=less
|
||||
else
|
||||
echo "Error, no decent PAGER available"
|
||||
fi
|
||||
alias zless=$PAGER
|
||||
## }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user