Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitstatus error on ohmyzsh terminal #424

Closed
solomonchidera opened this issue Mar 10, 2024 · 2 comments
Closed

Gitstatus error on ohmyzsh terminal #424

solomonchidera opened this issue Mar 10, 2024 · 2 comments

Comments

@solomonchidera
Copy link

[ERROR]: gitstatus failed to initialize.

Zsh log (/tmp/gitstatus.POWERLEVEL9K.1000.158.1710087992.1.xtrace.log):

+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):51> ((  ! async  ))
+(anon):52> ((  _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid]  ))
+(anon):54> local pgid
+(anon):55> ((  0 < 20  ))
+(anon):56> [[ -t 21 ]]
+(anon):57> sysread -s 20 -t 10.0000000000 -i 21 'pgid[$#pgid+1]'
+(anon):55> ((  20 < 20  ))
+(anon):59> [[ '                 314' == \ #<1-> ]]
+(anon):60> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=pgid'
+(anon):62> sysopen -w -o cloexec -u req_fd -- /tmp/gitstatus.POWERLEVEL9K.1000.158.1710087992.1.fifo
(anon):sysopen:62: can't open file /tmp/gitstatus.POWERLEVEL9K.1000.158.1710087992.1.fifo: no such file or directory
+(anon):62> return

System information:

zsh:      5.8.1
uname -a: Linux DESKTOP-N0BIVTD 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
@romkatv
Copy link
Owner

romkatv commented Mar 10, 2024

It's a bug in the OS: microsoft/WSL#8441 (comment).

@solomonchidera
Copy link
Author

It's a bug in the OS: microsoft/WSL#8441 (comment).

Ohh okay, will disable the error then and use it just like I've been doing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants