2021-03-21 18:25:10 +03:00
|
|
|
#!/bin/zsh
|
|
|
|
|
|
|
|
PAGER=$(z-alt-find 'less|pager|more')
|
|
|
|
if [ -n "${PAGER}" ] ; then
|
|
|
|
export PAGER
|
|
|
|
READNULLCMD=$(which "${PAGER}" | xargs -r readlink -e)
|
|
|
|
else
|
2024-02-28 23:22:33 +03:00
|
|
|
unset PAGER READNULLCMD NULLCMD
|
2021-03-21 18:25:10 +03:00
|
|
|
fi
|