based on https://github.com/paulirish/dotfiles and https://github.com/mathiasbynens/dotfiles
always try to refer to https://github.com/robbyrussell/oh-my-zsh/wiki/Troubleshooting when having issues.
- if bash is not automatically updated to v4+
- edit
/etc/shells
and move the updated bash path (which bash
) to the top
zsh
not default shell (reference)
- make sure
zsh
is in your list of authorized shells:cat /etc/shells
- the correct path to
zsh
can be found withwhich zsh
sudo echo "$(which zsh)" >> /etc/shells
chsh -s $(which zsh)
- First, try to remove your completion cache with
rm ~/.zcompdump*
, close and reopen your shells. - if it doesn't work, please see ohmyzsh/ohmyzsh#630 (comment)
- check permissions on
~/.zsh_history
- it should be owner by the current user and not
root
(this might happen ifzsh
is installed with root)
- open xcode -> preferences -> locations
- update command line tools to use xcode
- please see Adding your SSH key to the ssh-agent
sudo vi /etc/pam.d/sudo
- add the following line to the top:
auth sufficient pam_tid.so