about summary refs log tree commit diff
path: root/mless
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-01-02 19:11:53 +0100
committerLeah Neukirchen <leah@vuxu.org>2019-01-02 19:11:53 +0100
commit55c188a0c82a476cc6a2954b16c1ecb67d6bc14c (patch)
tree83e5d0b3eca9eb7931d7134de884a9cf2b2fff31 /mless
parent1349f617de10d156b11480a30a69ea280500a75c (diff)
downloadmblaze-55c188a0c82a476cc6a2954b16c1ecb67d6bc14c.tar.gz
mblaze-55c188a0c82a476cc6a2954b16c1ecb67d6bc14c.tar.xz
mblaze-55c188a0c82a476cc6a2954b16c1ecb67d6bc14c.zip
mless: remove mnext/mprev
Diffstat (limited to 'mless')
-rwxr-xr-xmless6
1 files changed, 1 insertions, 5 deletions
diff --git a/mless b/mless
index 91391ed..8692722 100755
--- a/mless
+++ b/mless
@@ -53,11 +53,7 @@ if ! [ -t 1 ]; then
 	exec mseq :
 fi
 
-case "$0" in
-	*mnext) set -- +;;
-	*mprev) set -- -;;
-	*) [ "$#" -eq 1 ] && set -- ${1:-.};;
-esac
+[ "$#" -eq 1 ] && set -- ${1:-.}
 
 if [ "$#" -ge 1 ]; then
 	mseq -C "$1"