homebrew-emacs
homebrew-emacs copied to clipboard
With oh-my-zsh plugin 'emacs' enabled, many formulae will start gui emacs on install/uninstall/doctor etc.
I have enabled the oh-my-zsh plugin emacs, which aliases emacs
to a emacsclient.sh
script that starts an emacs server and emacs gui.
When I tapped dunn/emacs
and when installing/updating/uninstalling formulae of the tap, emacs gui is opened (I suspect because emacs is called in the formulae's test). This also happens when calling brew doctor. At the moment, the only way to avoid emacs opening is uninstalling all formulae and untapping dunn/emacs
. I was so far not able to find a workaround/fix for the problem, but maybe avoiding aliases in the tests would do the trick.
One way to avoid this might be to pass the full path to those emacs
invocations. If you have a chance to try that and it works, I'd love a PR. Otherwise I'll try to take a closer look this weekend!