Added a few git functions and fixed fpath not being set in the appropriate spot

This commit is contained in:
2023-10-09 09:22:08 -04:00
parent c1b1381f24
commit d3a383102b
6 changed files with 35 additions and 14 deletions

11
zsh/config/functions/gma Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/zsh
# Add all and commit to git.
function gma() {
[ -z "$1" ] \
&& echo "usage: gma <commit-message>" \
&& return 1
git add . && git commit -m "$1"
}