Change gcm to work without quoting

This commit is contained in:
Alexander Rosenberg 2022-11-07 14:42:44 -08:00
parent 62a00e0b96
commit 2c6de4d2ae
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -93,7 +93,13 @@ fi
alias ga="git add" alias ga="git add"
alias gaa="git add -A" alias gaa="git add -A"
alias gco="git commit" alias gco="git commit"
alias gcm="git commit -m" gcm() {
local args
for arg; do
args="${args} ${arg}"
done
git commit -m "${args}"
}
alias gca="git commit -a" alias gca="git commit -a"
alias gcam="git commit -am" alias gcam="git commit -am"
alias gp="git push" alias gp="git push"