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