Move most/less check to correct paragraph.
This commit is contained in:
12
.zshrc
12
.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
|
||||
|
||||
Reference in New Issue
Block a user