Hacker News new | ask | show | jobs
by agazso 2634 days ago
You can use the `git check-ignore` command to check if a certain directory is ignored. I used it in my zsh config to suppress the status of ignored directories in my prompt.