From 66d20ba811587f85774c475f38d94d5959c8f2d0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 1 Nov 2019 16:41:54 +0100 Subject: Fix for jump to mark binding --- bindings.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3