add 'shellflag' option to customize shell flag

cc #597
This commit is contained in:
Gokcehan committed 2021-04-04 18:23:14 +03:00
1 parent aebff483a7
commit ca0068514a
8 files changed
+29 -7

No files matched your search

+2
View File
@@ -309,6 +309,8 @@ func (e *setExpr) eval(app *app, args []string) {
app.ui.loadFile(app.nav, true)
case "shell":
gOpts.shell = e.val
case "shellflag":
gOpts.shellflag = e.val
case "shellopts":
if e.val == "" {
gOpts.shellopts = nil