-x needs to specify full name, not just command
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -33,7 +33,7 @@ export LSCOLORS="gxfxcxdxbxegedabagacad"
|
||||
export PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
|
||||
export PERL_CPANM_OPT="--mirror http://cpan.nctu.edu.tw/ --mirror http://cpan.cpantesters.org/"
|
||||
#
|
||||
if [ -x most ]; then
|
||||
if [ -x /usr/local/bin/most -o -x /usr/bin/most ]; then
|
||||
export PAGER="most"
|
||||
else
|
||||
export PAGER="less"
|
||||
|
||||
Reference in New Issue
Block a user