diff --git a/modules/environment/init.zsh b/modules/environment/init.zsh index 36810ee..52aab18 100644 --- a/modules/environment/init.zsh +++ b/modules/environment/init.zsh @@ -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