From 93d293edf6c0805ae36cccbfe7082fe856c39106 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sun, 23 Feb 2014 10:57:00 +0800 Subject: [PATCH] Add PAGER environment (zsh). --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zshrc b/.zshrc index 449b93c..672e87e 100644 --- a/.zshrc +++ b/.zshrc @@ -22,6 +22,12 @@ alias "smic=sudo make install clean" alias "ssh=ssh -4 -C -e none -v" alias "t=telnet" # +if [[ -x /usr/local/bin/most || -x /usr/bin/most ]]; then + export PAGER="most" +else + export PAGER="less" +fi +# if [ "`uname -s`" == "FreeBSD" -o "`uname -s`" == "Darwin" ]; then alias "ls=/bin/ls -aFG" elif [ "`uname -s`" == "Linux" ]; then