aboutsummaryrefslogtreecommitdiff
path: root/bbstartup.sh
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-10-03 13:24:52 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-10-03 13:24:52 -0700
commite364995dcd2ce727d9af8eb826ae8681ec7d5b7e (patch)
tree7183929e4e040de3b648f9bdcc50c555f0e0d620 /bbstartup.sh
parent3de5a5108f7784b5a8190d7a98417c3a54b6db41 (diff)
Appending '\0' to commandfile so subsequent writes don't get screwed up.
Diffstat (limited to 'bbstartup.sh')
-rwxr-xr-xbbstartup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bbstartup.sh b/bbstartup.sh
index f8ca71b..059bc09 100755
--- a/bbstartup.sh
+++ b/bbstartup.sh
@@ -29,3 +29,4 @@ elif [ -e "$sysconfdir/xdg/bb/bindings.bb" ]; then
elif [ -e bindings.bb ]; then
cat bindings.bb
fi | sed -e '/^#/d' -e "s/^[^ ]/$(printf '\034')+bind:\\0/" | tr '\034' '\0' >> "$BBCMD"
+printf '\0' >> "$BBCMD"