summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2024-08-14 16:27:27 -0400
committerAndrew Cady <d@jerkface.net>2024-08-14 16:27:27 -0400
commit907cb4d43aec7b159b61e512e0cdb9558ff01fa6 (patch)
tree873eb022a4cb942a50b14a9227a5f846ea26bd30
parent9ca5a8f5735b1b8a77979cc682092903835e5327 (diff)
set /proc/$$/comm
-rwxr-xr-xtwopane.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/twopane.bash b/twopane.bash
index c4cc027..d4d6459 100755
--- a/twopane.bash
+++ b/twopane.bash
@@ -1,5 +1,6 @@
1#!/bin/bash 1#!/bin/bash
2BASH_ARGV0=twopane.bash 2BASH_ARGV0=twopane.bash
3echo -n "$0" >/proc/$$/comm
3set -e 4set -e
4set -f 5set -f
5set -o pipefail 6set -o pipefail
@@ -288,6 +289,7 @@ our_bashrc_main()
288 289
289save_file bashrc <<. 290save_file bashrc <<.
290BASH_ARGV0=twopane 291BASH_ARGV0=twopane
292echo -n "\$0" >/proc/\$\$/comm
291${TOP_CMD@A} 293${TOP_CMD@A}
292${BOT_CMD@A} 294${BOT_CMD@A}
293${TOP_TITLE@A} 295${TOP_TITLE@A}