aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-09-21 20:25:01 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-09-21 20:25:01 -0700
commitca626182c1ba6573a81f55f5257fea9cb6800fb8 (patch)
treea1bb30ecb354fd4768c0b543da31ca108892b813
parent5045f908d660e2e223de029a580e45063e05fcef (diff)
Fix for bashism
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 2c0b758..e8d1d3e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -251,7 +251,7 @@ binding_t bindings[] = {
{{'p'}, "$PAGER \"$@\"", B("Page")" through a file in $PAGER"},
{{'|'}, ASK("cmd", "|", "") " && printf '%s\\n' \"$@\" | sh -c \"$BBSHELLFUNC$cmd\"; " PAUSE "; bb +r",
B("Pipe")" selected files to a command"},
- {{':'}, ASK("cmd", ":", "")" && sh -c \"$BBSHELLFUNC; $cmd\" -- \"$@\"; " PAUSE "; bb +refresh",
+ {{':'}, ASK("cmd", ":", "")" && sh -c \"$BBSHELLFUNC$cmd\" -- \"$@\"; " PAUSE "; bb +refresh",
B("Run")" a command"},
{{'>'}, "tput rmcup >/dev/tty; $SHELL; bb +r", "Open a "B("shell")},
{{'r', KEY_F2},