diff options
Diffstat (limited to '.local/bin/shorts/gi')
-rwxr-xr-x | .local/bin/shorts/gi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/shorts/gi b/.local/bin/shorts/gi new file mode 100755 index 0000000..d78ff99 --- /dev/null +++ b/.local/bin/shorts/gi @@ -0,0 +1,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 |