fg tasks
This commit is contained in:
parent
08bb7073cd
commit
e098a8812c
2 changed files with 131 additions and 106 deletions
|
|
@ -78,6 +78,9 @@ func main() {
|
|||
ast.SyncTablesWithOSEnviron = true
|
||||
ast.ExecWhenFuncUndef = true
|
||||
|
||||
stdlib.InitShellFeatures()
|
||||
defer stdlib.TeardownShell()
|
||||
|
||||
vars, funcs := config.InitFromConfig(".shsrc")
|
||||
debug_t := ast.GetVar("SH_DEBUG_MODE", vars)
|
||||
if debug_t != nil {
|
||||
|
|
@ -125,9 +128,6 @@ func main() {
|
|||
defer histFile.Close()
|
||||
}
|
||||
|
||||
stdlib.InitShellFeatures()
|
||||
defer stdlib.TeardownShell()
|
||||
|
||||
for {
|
||||
setLogLvl(vars)
|
||||
var prePrompt string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue