Shortcut for switching from bash to zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
zsh --version
, should say zsh 5.1.1
or higher!$ chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
to install oh-my-zsh
echo $SHELL
, should output /bin/zsh
.zshrc
file, locate the environment variable: ZSH_THEME="suvash"
.zshrc
file!file.zsh
in /Users/<you>/.oh-my-zsh/custom/
aliases.zsh
for aliases and functions.zsh
for your functionsalias rz='source ~/.zshrc'
in to the custom file!