1
0
dotfiles/.config/zsh/rc/pager.zsh
2021-04-19 01:00:58 +03:00

11 lines
202 B
Bash

#!/bin/zsh
PAGER=$(z-alt-find 'less|pager|more')
if [ -n "${PAGER}" ] ; then
export PAGER
READNULLCMD=$(which "${PAGER}" | xargs -r readlink -e)
else
unset READNULLCMD
unset NULLCMD
fi