commit 9da70a634b2e6b31026cf4dc619e54fa58ecb128
parent b857574ff5aad8444c5c84b02129dbeeab47df0b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 3 Oct 2014 23:53:20 +0000
scripts/history: fix file test
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/history b/scripts/history
@@ -1,7 +1,7 @@
#!/bin/sh
-file="$OUTFILE"
-test -f x"$file" || exit 1
+file="$HISTFILE"
+test -f "$file" || exit 1
#if test x"$DISPLAY" = x""; then
# line=$(tail -n 100 "$file" | slmenu -l 20)