I have the following function in my .zshrc
which, in theory, allows me to write a commit message without needing quotation marks.
cm(){
git commit -m "$@"
}
When I run it (cm foo bar
), I get the following error:
zsh: unknown file attribute
Does $@
mean the same thing in zsh as it does in bash?