export NNN_PLUG='p:-plugin'
.Ed
.Pp
- To assign keys to arbitrary non-background non-shell-interpreted cli
- commands and invoke like plugins, add \fI!\fR before the command.
+ To assign keys to arbitrary non-background cli commands and invoke like
+ plugins, add \fI!\fR before the command.
.Bd -literal
export NNN_PLUG='x:!chmod +x $nnn;g:!git log;s:!smplayer $nnn'
## Running commands as plugin
-To assign keys to arbitrary non-background, non-shell-interpreted cli commands and invoke like plugins, add `!` (underscore) before the command.
+To assign keys to arbitrary non-background cli commands and invoke like plugins, add `!` (underscore) before the command.
```sh
export NNN_PLUG='x:!chmod +x $nnn;g:!git log;s:!smplayer $nnn'
}
if (flags & F_PAGE)
- get_output(g_buf, NULL, NULL, -1, TRUE, TRUE);
+ get_output(utils[UTIL_SH_EXEC], g_buf, NULL, -1, TRUE, TRUE);
else
- spawn(g_buf, NULL, NULL, NULL, flags);
+ spawn(utils[UTIL_SH_EXEC], g_buf, NULL, NULL, flags);
return TRUE;
}