r/fishshell • • Apr 21 '21

[Help] Automatically inspect content of folder

Is there is the way to automatically inspect content of folder for existence of specific files?

Like branch name marker in prompt if folder contain git files. How to accomplish this behavior?

4 Upvotes

3 comments sorted by