I wish to call man function in emacsclient when I typing "man smth" in terminal. When I open files from iterm via emacsclient - emacs gaining focus and when I kill buffer - terminal gaining focus back. But when I want not open file but evaluate "man ls" for example - its evaluating in emacs, but not switching to emacs and when I close man buffer its not switching back.
Here's my command to open man page from iterm in emacs:
emacsclient -c -e "(man \"ls\")" -a ""
Can anyone point me what am I doing wrong plz? Thx.