My question is what would be a good way to run two admin accounts for developing in regards to running Homebrew
, Zsh
and Oh My Zsh
and configuring the .zshrc
file?
My reasoning for this is that I recently started a new job and would like to use my Mac with two accounts, both of which will be admins and both of which I will require devtools so as to keep my work life/dev and personal life/dev cleanly separated. I just erased my hard drive and cleanly installed OS X 10.12.3 and created two Admin accounts.
I've had a shot at setting it up however keep getting permission errors whenever I switch accounts and run terminal, usually specific to zsh completions.
My steps:
- Install Homebrew on both users
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
. - Install zsh with brew
brew install zsh
and change to itchsh -s /bin/zsh
. - Install oh my zsh with curl via
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
. - run
sudo chown -R $(whoami):admin /usr/local
.
Then I've tried a whole mess of things which I'll refrain from adding as I believe they may only lead others down a dark path.