parent
c58f9015ec
commit
fcf060482b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ unsetopt HUP
|
|||
unsetopt CHECK_JOBS
|
||||
|
||||
# Set less or more as the default pager.
|
||||
if [[ -z ${PAGER} ]]; then
|
||||
if (( ! ${+PAGER} )); then
|
||||
if (( ${+commands[less]} )); then
|
||||
export PAGER=less
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue