mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
parent
0c75d2a063
commit
8e40cebf93
|
@ -55,6 +55,10 @@ 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