]> arthur.barton.de Git - ax-zsh.git/blobdiff - default_plugins/less/less.zprofile
less: Explicitely set the PAGER variable to the path of less(1)
[ax-zsh.git] / default_plugins / less / less.zprofile
index 1c473e5a4d671709238319d8b5b99759041c2631..6e3bbbf520e805684ecfbc83ed8e18097dc17e44 100644 (file)
@@ -4,6 +4,7 @@
 # Make sure that "less(1)" is installed
 (( $+commands[less] )) || return
 
+export PAGER="$commands[less]"
 export LESS="-FmRX"
 
 # Support colors in less