aboutsummaryrefslogtreecommitdiff
path: root/bindings.bb
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-11-01 16:41:54 +0100
committerBruce Hill <bruce@bruce-hill.com>2019-11-01 16:41:54 +0100
commit66d20ba811587f85774c475f38d94d5959c8f2d0 (patch)
treede11ccb52179f35c0025fdc7d762699a33d75658 /bindings.bb
parent954c42df0c6cb2085377fe4b7d972460b6fceb60 (diff)
Fix for jump to mark binding
Diffstat (limited to 'bindings.bb')
-rw-r--r--bindings.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings.bb b/bindings.bb
index 5b8dc6e..226446f 100644
--- a/bindings.bb
+++ b/bindings.bb
@@ -36,7 +36,7 @@ Ctrl-g: # Go to directory
m: # Mark this directory
ask mark "Mark: " && ln -s "$PWD" ~/.config/bb/marks/"$mark"
': # Go to a marked directory
- mark="$(printf '%s\0' ~/.config/bb/marks/* | pick "Jump to: ")" &&
+ mark="$(basename -az ~/.config/bb/marks/* | pick "Jump to: ")" &&
bb +cd:"$(readlink -f ~/.config/bb/marks/"$mark")"
-,Backspace: # Go to previous directory
[ $BBPREVPATH ] && bb +cd:"$BBPREVPATH"