mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-16 13:47:49 -08:00
parent
be803c838b
commit
9dd462c0d0
|
@ -59,6 +59,7 @@ var printCmd = &cobra.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
eng := engine.New(flags)
|
eng := engine.New(flags)
|
||||||
|
defer eng.Env.Close()
|
||||||
|
|
||||||
switch args[0] {
|
switch args[0] {
|
||||||
case "debug":
|
case "debug":
|
||||||
|
|
|
@ -16,7 +16,6 @@ func New(flags *platform.Flags) *Engine {
|
||||||
}
|
}
|
||||||
|
|
||||||
env.Init()
|
env.Init()
|
||||||
defer env.Close()
|
|
||||||
cfg := LoadConfig(env)
|
cfg := LoadConfig(env)
|
||||||
ansi := &color.Ansi{}
|
ansi := &color.Ansi{}
|
||||||
ansi.Init(env.Shell())
|
ansi.Init(env.Shell())
|
||||||
|
|
Loading…
Reference in a new issue