mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 03:24:04 -08:00
fix(windows): do not lock Home()
This commit is contained in:
parent
d310ea6b89
commit
b338a36890
|
@ -55,10 +55,6 @@ func (env *ShellEnvironment) Root() bool {
|
|||
}
|
||||
|
||||
func (env *ShellEnvironment) Home() string {
|
||||
env.lock.Lock()
|
||||
defer func() {
|
||||
env.lock.Unlock()
|
||||
}()
|
||||
home := os.Getenv("HOME")
|
||||
defer func() {
|
||||
env.log(Debug, "Home", home)
|
||||
|
|
Loading…
Reference in a new issue