diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-11-01 16:41:54 +0100 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-11-01 16:41:54 +0100 |
| commit | 66d20ba811587f85774c475f38d94d5959c8f2d0 (patch) | |
| tree | de11ccb52179f35c0025fdc7d762699a33d75658 | |
| parent | 954c42df0c6cb2085377fe4b7d972460b6fceb60 (diff) | |
Fix for jump to mark binding
| -rw-r--r-- | bindings.bb | 2 |
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" |
