Add PAGER environment (zsh).
This commit is contained in:
6
.zshrc
6
.zshrc
@@ -22,6 +22,12 @@ alias "smic=sudo make install clean"
|
|||||||
alias "ssh=ssh -4 -C -e none -v"
|
alias "ssh=ssh -4 -C -e none -v"
|
||||||
alias "t=telnet"
|
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
|
if [ "`uname -s`" == "FreeBSD" -o "`uname -s`" == "Darwin" ]; then
|
||||||
alias "ls=/bin/ls -aFG"
|
alias "ls=/bin/ls -aFG"
|
||||||
elif [ "`uname -s`" == "Linux" ]; then
|
elif [ "`uname -s`" == "Linux" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user