We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
powerlevel10k/internal/p10k.zsh
Lines 2274 to 2285 in cf83ab2
Btrfs subvolumes always have inode number 256 instead of 2, so detect_virt segment will show false positive "chroot" for btrfs.
Maybe we can check the return value of unshare -U true to determine whether we are in chroot? But it will be much slower :(
unshare -U true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
powerlevel10k/internal/p10k.zsh
Lines 2274 to 2285 in cf83ab2
Btrfs subvolumes always have inode number 256 instead of 2, so detect_virt segment will show false positive "chroot" for btrfs.
Maybe we can check the return value of
unshare -U true
to determine whether we are in chroot? But it will be much slower :(The text was updated successfully, but these errors were encountered: