ZSH
install zsh
https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH
sudo xcodebuild -license acceptbrew install zsh zsh-completionszsh --versionsudo echo "$(which zsh)" >> /etc/shells (brew may do this for you)chsh -s $(which zsh)- restart terminals
oh-my-zsh
https://github.com/robbyrussell/oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
material theme for shell
https://github.com/carloscuesta/materialshell
curl -o ~/Downloads/material-dark.terminal https://raw.githubusercontent.com/carloscuesta/materialshell/master/shell-color-themes/macOS/terminal/materialshell-dark.terminalcurl -o ~/Downloads/material-oceanic.terminal https://raw.githubusercontent.com/carloscuesta/materialshell/master/shell-color-themes/macOS/terminal/materialshell-oceanic.terminalhttps://github.com/carloscuesta/materialshell/tree/master/shell-color-themes#macos
follow this
mkdir "$HOME/.oh-my-zsh/custom/materialshell.zsh-theme"curl -fsSL -o "$HOME/.oh-my-zsh/custom/themes/materialshell.zsh-theme" https://raw.githubusercontent.com/carloscuesta/materialshell/master/materialshell.zsh- Modify
.zshrcto enable the theme withZSH_THEME="materialshell"
vars
https://wiki.archlinux.org/index.php/environment_variables
- put them in ~/.profile
- add
source ~/.profileto~/.zshrcand~/.bash_profile