From 34687cd4ac6a32635b716364c6988f14e65690ec Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Wed, 5 Nov 2014 02:30:41 +0800 Subject: [PATCH] Move most/less check to correct paragraph. --- .zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.zshrc b/.zshrc index 29d20b0..86368f3 100644 --- a/.zshrc +++ b/.zshrc @@ -27,12 +27,6 @@ if [[ -x /usr/bin/xdg-open ]]; then alias "o=xdg-open" fi # -if [[ -x /usr/local/bin/most || -x /usr/bin/most ]]; then - export PAGER="most" -else - export PAGER="less" -fi -# # Hack for gnome-terminal if [[ "$COLORTERM" == "gnome-terminal" ]]; then export TERM=xterm-256color @@ -103,6 +97,12 @@ export LSCOLORS="gxfxcxdxbxegedabagacad" export PATH="$HOME/bin:$HOME/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH" export SAVEHIST=2000 # +if [[ -x /usr/local/bin/most || -x /usr/bin/most ]]; then + export PAGER="most" +else + export PAGER="less" +fi +# setopt append_history setopt hist_ignore_all_dups setopt menu_complete