about summary refs log tree commit diff
path: root/mless
diff options
context:
space:
mode:
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"