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
powerlevel10k doesn't show git status on repo's that have files in them with root/root permissions.
I noticed that when cloning and building lnav (https://github.com/tstack/lnav) that the git status on the prompt disappears. When cloning and building the particular repo, the git status is visible on the prompt. However after a 'sudo make install' in the particular repo the git status disappears from the prompt.
When diving into this, I noticed that 'git diff' (after 'sudo make install') was giving permission errors. Apparently that particular repo creates root/root (user/group) files in the repo, to which the regular user does not have permissions, hence I guess also gitstatusd bails out and cannot provide the prompt anymore. It maybe dubious to create root/root files for the install process inside the repo, but alas...
It would be nice to have the prompt showing that there is a git repo, but that an error (permissions) blocks giving proper information.
The text was updated successfully, but these errors were encountered:
powerlevel10k doesn't show git status on repo's that have files in them with root/root permissions.
I noticed that when cloning and building lnav (https://github.com/tstack/lnav) that the git status on the prompt disappears. When cloning and building the particular repo, the git status is visible on the prompt. However after a 'sudo make install' in the particular repo the git status disappears from the prompt.
When diving into this, I noticed that 'git diff' (after 'sudo make install') was giving permission errors. Apparently that particular repo creates root/root (user/group) files in the repo, to which the regular user does not have permissions, hence I guess also gitstatusd bails out and cannot provide the prompt anymore. It maybe dubious to create root/root files for the install process inside the repo, but alas...
It would be nice to have the prompt showing that there is a git repo, but that an error (permissions) blocks giving proper information.
The text was updated successfully, but these errors were encountered: