diff options
author | Huangbin Zhan <zhanhb88@gmail.com> | 2020-11-27 19:02:47 +0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-11-28 15:12:36 -1000 |
commit | 451c1eb8c2a87bbf486f2883518bbb8c1c06848f (patch) | |
tree | 63f3408eeaec506239cc5d8f3874f7f2f888f126 /package/base-files/files/etc | |
parent | fcea027df6951a9a4b352019a324b6decb3beb51 (diff) | |
download | upstream-451c1eb8c2a87bbf486f2883518bbb8c1c06848f.tar.gz upstream-451c1eb8c2a87bbf486f2883518bbb8c1c06848f.tar.bz2 upstream-451c1eb8c2a87bbf486f2883518bbb8c1c06848f.zip |
base-files: fix alias more to properly detect /usr/bin/more
Package more is installed to /usr/bin rather than /bin.
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r-- | package/base-files/files/etc/shinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/shinit b/package/base-files/files/etc/shinit index 6b715c1ef9..dccba34b69 100644 --- a/package/base-files/files/etc/shinit +++ b/package/base-files/files/etc/shinit @@ -1,4 +1,4 @@ -[ -x /bin/more ] || alias more=less +[ -x /bin/more ] || [ -x /usr/bin/more ] || alias more=less [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi alias ll='ls -alF --color=auto' |