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