about summary refs log tree commit diff
path: root/mless
diff options
context:
space:
mode:
Diffstat (limited to 'mless')
-rwxr-xr-xmless8
1 files changed, 7 insertions, 1 deletions
diff --git a/mless b/mless
index 08ce513..ddead98 100755
--- a/mless
+++ b/mless
@@ -72,7 +72,13 @@ nl="
 "
 export MLESS_RAW=0
 export MLESS_HTML=0
-if [ -f "$MBLAZE/mless" ]; then
+if [ -f "$MBLAZE/mlesskey" ]; then
+	export LESSKEYIN="$MBLAZE/mlesskey"
+elif [ -f "$HOME/.mblaze/mlesskey" ]; then
+	export LESSKEYIN="$HOME/.mblaze/mlesskey"
+elif [ -f "$HOME/.mlesskey" ]; then
+	export LESSKEYIN="$HOME/.mlesskey"
+elif [ -f "$MBLAZE/mless" ]; then
 	export LESSKEY="$MBLAZE/mless"
 elif [ -f "$HOME/.mblaze/mless" ]; then
 	export LESSKEY="$HOME/.mblaze/mless"