summaryrefslogtreecommitdiff
path: root/.local/bin/development/gitignore
blob: d78ff9947d2eb28f22af2362b93ab4c04e9b9148 (plain)
1
2
3
4
5
6
#!/bin/sh

# gi - edit the Git Ignore file of current repo

TOPLEVEL="$(git rev-parse --show-toplevel)" || exit
find "$TOPLEVEL" -name ".gitignore" | xargs -r nvim -p