Fix for bashism
This commit is contained in:
parent
5045f908d6
commit
ca626182c1
@ -251,7 +251,7 @@ binding_t bindings[] = {
|
|||||||
{{'p'}, "$PAGER \"$@\"", B("Page")" through a file in $PAGER"},
|
{{'p'}, "$PAGER \"$@\"", B("Page")" through a file in $PAGER"},
|
||||||
{{'|'}, ASK("cmd", "|", "") " && printf '%s\\n' \"$@\" | sh -c \"$BBSHELLFUNC$cmd\"; " PAUSE "; bb +r",
|
{{'|'}, ASK("cmd", "|", "") " && printf '%s\\n' \"$@\" | sh -c \"$BBSHELLFUNC$cmd\"; " PAUSE "; bb +r",
|
||||||
B("Pipe")" selected files to a command"},
|
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"},
|
B("Run")" a command"},
|
||||||
{{'>'}, "tput rmcup >/dev/tty; $SHELL; bb +r", "Open a "B("shell")},
|
{{'>'}, "tput rmcup >/dev/tty; $SHELL; bb +r", "Open a "B("shell")},
|
||||||
{{'r', KEY_F2},
|
{{'r', KEY_F2},
|
||||||
|
Loading…
Reference in New Issue
Block a user