Hacker News new | ask | show | jobs
by viraptor 4289 days ago
I really don't think it does. zsh doesn't load functions that way at all. Did you copy the bash command when you were testing by any chance?
1 comments

I posted an edit to my original comment. I meant that the equivalent defining of a function (in zsh) does work, but zsh -c won't run the function unless you permanently add the function to your env.