I've got this neat little function to open man pages in the Preview.app in my bash profile
pman() {
man -t $@ | open -f -a /Applications/Preview.app
}
and I want to use it in my zshrc but it doesn't work does anybody know how to fix it? Preview.app still opens but it ask which file to preview and not like in bash which opens the man page.
Thanks in advance