Change gcm to work without quoting
This commit is contained in:
parent
62a00e0b96
commit
2c6de4d2ae
8
init.zsh
8
init.zsh
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user