I've been following the RabbitMQ installation guide via homebrew.
It says to add a line to my .bash_profile, but since I'm using ohmyzsh for my terminal I'm guessing I have to edit my .zshrc file.
I've tried adding the following possibilities:
PATH=$PATH:/usr/local/sbinexport PATH=$PATH:/usr/local/sbinexport PATH=/usr/local/sbin:$PATH
Unfortunately none of them worked.
Elsewhere in the .zshrc file I see this line: export ZSH=/Users/robinkim/.oh-my-zsh. This may give a clue as to what needs to be added.
EDIT: I simply forgot to brew link rabbitmq
.zshrc, did you start a new shell or re-sourcethe file?brew link rabbitmqafter installation. sorry.