You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, when I open a .zig file, something happens with my shell. I'm using starship on top of fish, and its configuring to run pfetch when it starts up. The output of pfetch somehow gets tangled up in the .zig file if zig.vim is running. So an error appears containing the pfetch output. If I ignore it and enter the file, everything looks okay. If I make no changes and I save and exit, the pfetch output is actually saved to the file. Here's my config.fish:
1 alias ls=lsd
2 export VISUAL=vim
3 export EDITOR=vim
4
5 pfetch
6 starship init fish | source
Error when opening a .zig file. Error contains pfetch output:
No activity from the issuer to reproduce the issue with a minimal setup example (including vim config, shell config and used versions) since more than a year. Can this be closed?
I hit this same problem, and it ended up being because my VIM config was set up for interactive zsh shell (which I set up so I could have my zsh aliases).
set shell=zsh\ -i
Since I don't really use them any longer, I've removed it to fix it. however, it was really hard to figure out what was going on originally.
So, when I open a .zig file, something happens with my shell. I'm using starship on top of fish, and its configuring to run pfetch when it starts up. The output of pfetch somehow gets tangled up in the .zig file if zig.vim is running. So an error appears containing the pfetch output. If I ignore it and enter the file, everything looks okay. If I make no changes and I save and exit, the pfetch output is actually saved to the file. Here's my config.fish:
Error when opening a .zig file. Error contains pfetch output:
Main.zig:
The text was updated successfully, but these errors were encountered: