aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--API.md4
-rw-r--r--README.md4
-rwxr-xr-xscripts/bbkeys (renamed from scripts/bbbindkeys)0
-rwxr-xr-xscripts/bbstartup2
4 files changed, 5 insertions, 5 deletions
diff --git a/API.md b/API.md
index ea2e9f2..7634b97 100644
--- a/API.md
+++ b/API.md
@@ -15,9 +15,9 @@ environment variable at runtime. `~/.config/bb/` is also added to the `$PATH`
with higher priority, so you can override any of these scripts by putting your
own version there.
-- `bbstartup`: The script run when `bb` first launches. It calls `bbbindkeys` by
+- `bbstartup`: The script run when `bb` first launches. It calls `bbkeys` by
default and sets up some configuration settings like which columns to display.
-- `bbbindkeys`: The script called by `bb` to create all of `bb`'s key bindings.
+- `bbkeys`: The script called by `bb` to create all of `bb`'s key bindings.
It's currently very hacky, but it amounts to a bunch of calls to `bbcmd
bind:<key>:<script>`
- `bbshutdown`: The script run when `bb` exits. The default implementation saves
diff --git a/README.md b/README.md
index 9033a7b..58011ea 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ The core idea behind `bb` is that `bb` is a file **browser**, not a file
to the filesystem (passing selected files as arguments), rather than
reinventing the wheel by hard-coding operations like `rm`, `mv`, `cp`, `touch`,
and so on. Shell scripts can be bound to keypresses in
-`~/.config/bb/bbbindkeys`. For example, `D` is bound to a script that prints a
+`~/.config/bb/bbkeys`. For example, `D` is bound to a script that prints a
confirmation message, then runs `rm -rf "$@" && bbcmd deselect refresh`,
which means selecting `file1` and `file2`, then pressing `D` will cause `bb` to
run the shell command `rm -rf file1 file2` and then tell `bb` to deselect all
@@ -63,7 +63,7 @@ When `bb` launches, it first updates `bb`'s `$PATH` environment variable to
include, in order, `~/.config/bb` and `/etc/xdg/bb`. Then, `bb` will run the
command `bbstartup` (the default implementation is found at
[scripts/bbstartup](scripts/bbstartup), along with other default `bb` commands).
-`bbstartup` will call `bbbindkeys` and may also set up configuration options like
+`bbstartup` will call `bbkeys` and may also set up configuration options like
which columns to display and what sort order to use. All of these behaviors can
be customized by creating custom local versions of these files in `~/.config/bb/`.
The default versions can be found in `/etc/xdg/bb/`.
diff --git a/scripts/bbbindkeys b/scripts/bbkeys
index bf5960a..bf5960a 100755
--- a/scripts/bbbindkeys
+++ b/scripts/bbkeys
diff --git a/scripts/bbstartup b/scripts/bbstartup
index 93fbb43..79b9b2c 100755
--- a/scripts/bbstartup
+++ b/scripts/bbstartup
@@ -10,7 +10,7 @@ mv "$BBCMD" "$tmpfile"
[ ! -d "$XDG_DATA_HOME/bb" ] && mkdir -p "$XDG_DATA_HOME/bb"
# Load key bindings
-bbbindkeys
+bbkeys
# Reload settings
[ -e "$XDG_DATA_HOME/bb/settings.sh" ] && . "$XDG_DATA_HOME/bb/settings.sh"