mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-13 12:17:26 -08:00
parent
b3d9981eec
commit
f6232deaf8
|
@ -32,7 +32,8 @@ func (b *Battery) Template() string {
|
|||
}
|
||||
|
||||
func (b *Battery) Enabled() bool {
|
||||
if !b.env.IsWsl2() {
|
||||
// disable in WSL1
|
||||
if b.env.IsWsl() && !b.env.IsWsl2() {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue