summaryrefslogtreecommitdiff
path: root/twopane.bash
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2024-08-01 07:28:29 -0400
committerAndrew Cady <d@jerkface.net>2024-08-01 07:28:29 -0400
commit55d2d1be1321c8b0bd289cd331af2f100106c14b (patch)
tree575610dd116bcaf807bd58cf5c1e2369709f819a /twopane.bash
parentfce0daebb803bf903daf861c236b9d5f80774609 (diff)
use $BOT_CMD again
Diffstat (limited to 'twopane.bash')
-rw-r--r--twopane.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/twopane.bash b/twopane.bash
index 876fc50..f3aff57 100644
--- a/twopane.bash
+++ b/twopane.bash
@@ -7,7 +7,7 @@ PROGNAME=${0##*/}
7 7
8BOT_SIZE=8 8BOT_SIZE=8
9BOT_TITLE=input 9BOT_TITLE=input
10BOT_CMD='PS1="$BOT_TITLE\$ " bash --noprofile --norc -i' 10BOT_CMD=start
11TOP_CMD='PS1="$TOP_TITLE\$ " bash --noprofile --norc -i' 11TOP_CMD='PS1="$TOP_TITLE\$ " bash --noprofile --norc -i'
12TOP_TITLE=output 12TOP_TITLE=output
13 13
@@ -95,6 +95,7 @@ trap 'COPROC=()' SIGPIPE
95trap "screen -X quit" EXIT 95trap "screen -X quit" EXIT
96$(declare -f $TWOPANE_FUNCTION_EXPORTS | sed 's/ COPROC / /') 96$(declare -f $TWOPANE_FUNCTION_EXPORTS | sed 's/ COPROC / /')
97export PS1="$BOT_TITLE\$ " 97export PS1="$BOT_TITLE\$ "
98\$BOT_CMD
98. 99.
99 100
100main() 101main()