.BI ":sh[ellcmd] " CMD
Runs given shell \fICMD\fP syncron and print the output into inputbox. The
\fICMD\fP can contain multiple '%' chars that are expanded to the current
-opened URI. Also the '~/' to home dir expansion is available.
+opened URI to input a % this has to be escaped by a '\'. Also the '~/' to home
+dir expansion is available.
.TP
.BI ":sh[ellcmd]! " CMD
Runs given shell \fICMD\fP asyncron. The '%' and '~/' expanshion of the :sh
if (!*input) {
/* if input ends here - use only the backslash */
g_string_append_c(arg->rhs, quote);
- } else if (**input == '|') {
+ } else if (**input == '|' || **input == '%') {
/* escaped char becomes only char */
g_string_append_c(arg->rhs, **input);
} else {