I have the following function in mine .zshrc, which, theoretically, allows me to write a commit message without quotes.
cm(){
git commit -m "$@"
}
When I ran it ( cm foo bar), I get the following error:
zsh: unknown file attribute
Does $@zsh mean the same as bash?
source
share