summaryrefslogtreecommitdiff
path: root/twopane.bash
diff options
context:
space:
mode:
Diffstat (limited to 'twopane.bash')
-rwxr-xr-xtwopane.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/twopane.bash b/twopane.bash
index 2a3c9ad..c4cc027 100755
--- a/twopane.bash
+++ b/twopane.bash
@@ -1,9 +1,9 @@
1#!/bin/bash 1#!/bin/bash
2BASH_ARGV0=twopane.bash
2set -e 3set -e
3set -f 4set -f
4set -o pipefail 5set -o pipefail
5shopt -s lastpipe 6shopt -s lastpipe
6PROGNAME=${0##*/}
7 7
8BOT_SIZE=8 8BOT_SIZE=8
9BOT_TITLE=input 9BOT_TITLE=input
@@ -29,7 +29,7 @@ STY=twopane.${TWOPANE##*/}
29 29
30save_file() 30save_file()
31{ 31{
32 cat > "$TWOPANE"/"${1:?$PROGNAME: Error: filename cannot be empty string}" 32 cat > "$TWOPANE"/"${1:?$0: Error: filename cannot be empty string}"
33} 33}
34save_screenrc() 34save_screenrc()
35{ 35{