Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.47k stars 947 forks source link

Hide stderr from git ls-files #1157

Closed 88maomao closed 5 years ago

88maomao commented 5 years ago

[Bugfix] Hide stderr from git ls-files

Hide warning: could not open directory 'blabla/': Permission denied if there are files/folders inside a git repo with no user access.

Fixes https://github.com/bhilburn/powerlevel9k/issues/1134

Questions

Should there be unittests for that?

dritter commented 5 years ago

I don't think we need tests for this. Thanks @88maomao and welcome to P9K! :)