mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
parent
e001534088
commit
a940a109df
|
@ -229,12 +229,12 @@ type ShellEnvironment struct {
|
|||
|
||||
func (env *ShellEnvironment) Init() {
|
||||
defer env.Trace(time.Now(), "Init")
|
||||
if env.CmdFlags.Debug {
|
||||
log.SetOutput(&env.logBuilder)
|
||||
}
|
||||
if env.CmdFlags == nil {
|
||||
env.CmdFlags = &Flags{}
|
||||
}
|
||||
if env.CmdFlags.Debug {
|
||||
log.SetOutput(&env.logBuilder)
|
||||
}
|
||||
env.fileCache = &fileCache{}
|
||||
env.fileCache.Init(env.CachePath())
|
||||
env.resolveConfigPath()
|
||||
|
|
Loading…
Reference in a new issue