diff options
author | Andrew Cady <d@jerkface.net> | 2024-08-01 07:28:29 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2024-08-01 07:28:29 -0400 |
commit | 55d2d1be1321c8b0bd289cd331af2f100106c14b (patch) | |
tree | 575610dd116bcaf807bd58cf5c1e2369709f819a /twopane.bash | |
parent | fce0daebb803bf903daf861c236b9d5f80774609 (diff) |
use $BOT_CMD again
Diffstat (limited to 'twopane.bash')
-rw-r--r-- | twopane.bash | 3 |
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 | ||
8 | BOT_SIZE=8 | 8 | BOT_SIZE=8 |
9 | BOT_TITLE=input | 9 | BOT_TITLE=input |
10 | BOT_CMD='PS1="$BOT_TITLE\$ " bash --noprofile --norc -i' | 10 | BOT_CMD=start |
11 | TOP_CMD='PS1="$TOP_TITLE\$ " bash --noprofile --norc -i' | 11 | TOP_CMD='PS1="$TOP_TITLE\$ " bash --noprofile --norc -i' |
12 | TOP_TITLE=output | 12 | TOP_TITLE=output |
13 | 13 | ||
@@ -95,6 +95,7 @@ trap 'COPROC=()' SIGPIPE | |||
95 | trap "screen -X quit" EXIT | 95 | trap "screen -X quit" EXIT |
96 | $(declare -f $TWOPANE_FUNCTION_EXPORTS | sed 's/ COPROC / /') | 96 | $(declare -f $TWOPANE_FUNCTION_EXPORTS | sed 's/ COPROC / /') |
97 | export PS1="$BOT_TITLE\$ " | 97 | export PS1="$BOT_TITLE\$ " |
98 | \$BOT_CMD | ||
98 | . | 99 | . |
99 | 100 | ||
100 | main() | 101 | main() |