diff --git a/eval.go b/eval.go index 993ea12..e83aa3b 100644 --- a/eval.go +++ b/eval.go @@ -310,6 +310,10 @@ func (e *setExpr) eval(app *app, args []string) { case "shell": gOpts.shell = e.val case "shellopts": + if e.val == "" { + gOpts.shellopts = nil + return + } gOpts.shellopts = strings.Split(e.val, ":") case "sortby": switch e.val {