mirror of
https://github.com/runyanjake/dotfiles.git
synced 2025-10-04 13:57:28 -07:00
ohmyzsh
My ohmyzsh config.
Prerequisites
- Install zsh. It should come by default with MacOS, else get it thru homebrew.
sudo apt get install zsh
- Set zsh as default shell
chsh -s /bin/zsh
Installation
- Install omz
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Remove the generated zshrc and link the one in this repo as a replacement. Note the file in this repo isn't hidden.
rm ~/.zshrc
ln -sfn /path/to/dotfiles/ohmyzsh/zshrc ~/.zshrc
- Source ~/.zshrc or restart the terminal.
source ~/.zshrc