aboutsummaryrefslogtreecommitdiff
path: root/bbstartup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bbstartup.sh')
-rwxr-xr-xbbstartup.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/bbstartup.sh b/bbstartup.sh
deleted file mode 100755
index a64394e..0000000
--- a/bbstartup.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# This file contains the script that is run when bb launches
-# See API.md for details on bb's command API.
-
-[ ! -d "$XDG_DATA_HOME/bb" ] && mkdir -p "$XDG_DATA_HOME/bb"
-
-# Load key bindings
-if [ "$BBPATH" ]; then
- cat "$BBPATH/bindings.bb" "$XDG_CONFIG_HOME/bb/bindings.bb"
-else
- cat "$sysconfdir/xdg/bb/bindings.bb" "$XDG_CONFIG_HOME/bb/bindings.bb"
-fi 2>/dev/null | awk '/^#/ {next} /^[^ ]/ {printf "\0bind:"} {print $0} END {printf "\0"}' >> "$BBCMD"
-
-if [ -e "$XDG_DATA_HOME/bb/state.sh" ]; then
- . "$XDG_DATA_HOME/bb/state.sh"
-fi