diff --git a/init.zsh b/init.zsh index ede2cfa..a663184 100644 --- a/init.zsh +++ b/init.zsh @@ -93,7 +93,13 @@ fi alias ga="git add" alias gaa="git add -A" 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 gcam="git commit -am" alias gp="git push"