aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-09-12 18:51:58 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-09-12 18:51:58 -0700
commit4c6f0b118fd51341913907a95c80e9020db60363 (patch)
treec576e4a485989e31dd96eb00b7610197bdd97e83
parente1e34bc6ed9aba0d9e88b376007dfe47c9c7a5e4 (diff)
Better handling for interrupts during mark
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
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:'<selection>'", "Go to "B("previous")" directory"},