mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
fix(engine): osc99 support for windows terminal
wsl path conversion not needed anymore
This commit is contained in:
parent
92b234a225
commit
4960f8a2b7
|
@ -67,9 +67,6 @@ func (e *engine) render() string {
|
||||||
return e.print()
|
return e.print()
|
||||||
}
|
}
|
||||||
cwd := e.env.getcwd()
|
cwd := e.env.getcwd()
|
||||||
if e.env.isWsl() {
|
|
||||||
cwd, _ = e.env.runCommand("wslpath", "-m", cwd)
|
|
||||||
}
|
|
||||||
e.writeANSI(e.ansi.consolePwd(cwd))
|
e.writeANSI(e.ansi.consolePwd(cwd))
|
||||||
return e.print()
|
return e.print()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue