diff options
| -rw-r--r-- | mkshrc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -637,11 +637,7 @@ set_editor() { alias e="$EDITOR" } set_pager() { - if [ -x "$(which less)" ] ; then - export EDITOR="$(which less)" - elif [ -x "$(which more)" ] ; then - export EDITOR="$(which more)" - fi + export PAGER="$(which cat more less 2>/dev/null | tail -n1)" } set_lang() { export CHARSET="$1"; |
