From 4c6f0b118fd51341913907a95c80e9020db60363 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 12 Sep 2019 18:51:58 -0700 Subject: [PATCH] Better handling for interrupts during mark --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 167869a..0cffe5f 100644 --- a/config.def.h +++ b/config.def.h @@ -208,7 +208,7 @@ binding_t bindings[] = { {{':'}, "sh -c \"$(" ASKECHO(":", "") ")\" -- \"$@\"; " PAUSE "; bb +refresh", B("Run")" a command"}, {{'>'}, "tput rmcup >/dev/tty; $SHELL; bb +r", "Open a "B("shell")}, - {{'\''}, "bb +cd:\"$(readlink -f ~/.config/bb/marks/\"$(ls ~/.config/bb/marks | " PICK("Jump to: ", "") ")\")\"", + {{'\''}, "mark=\"$(ls ~/.config/bb/marks | " PICK("Jump to: ", "") ")\" && bb +cd:\"$(readlink -f ~/.config/bb/marks/\"$mark\")\"", B("Jump")" to a directory"}, {{'-'}, "test $BBPREVPATH && bb +cd:\"$BBPREVPATH\"", "Go to "B("previous")" directory"}, {{';'}, "bb +cd:''", "Go to "B("previous")" directory"},