Really waste me minutes to resolve this problem, as I'm not familar with zsh.
 syntax has its meaning in zsh. So there are two simple ways to step aside.
Well, switch to bash by just entering `bash`. And then run you helm install again.
Or you can use
noglob helm install --generate-name ./mychart \--set imagePullSecrets.name=regcred