mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
parent
b809944f5c
commit
9f2c6d1df5
|
@ -109,7 +109,7 @@ func (pt *Path) Enabled() bool {
|
|||
pt.setStyle()
|
||||
pwd := pt.env.Pwd()
|
||||
|
||||
pt.Location = pt.env.TemplateCache().AbsolutePWD
|
||||
pt.Location = strings.ReplaceAll(pt.env.TemplateCache().AbsolutePWD, `\`, `/`)
|
||||
pt.StackCount = pt.env.StackCount()
|
||||
pt.Writable = pt.env.DirIsWritable(pwd)
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue