https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH#how-to-install-zsh-on-many-platforms
Set ZSH as default shell(check which shell with which $SHELL
command)
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# See dotfiles/zsh file for config
sudo chown -R $USER /usr/local
sudo chmod 755 /usr/local/share/zsh
sudo chmod 755 /usr/local/share/zsh/site-functions
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# ubuntu
sudo apt-get install fonts-powerline -y
# mac
brew install font-hack-nerd-font
Download zip from latest release: https://github.com/ryanoasis/nerd-fonts/releases/latest
mkdir -p ~/.local/share/fonts
unzip "Meslo.zip" "*.ttf" "*.otf" -d ~/.local/share/fonts
sudo fc-cache -f -v
# ubuntu
sudo apt install ruby-full -y
# mac
# https://mac.install.guide/faq/check-ruby-version/
brew install ruby
https://github.com/athityakumar/colorls#installation
sudo gem install colorls --user-install
mkdir ~/.config/colorls
# See dark_colors.yaml for config
touch ~/.config/colorls/dark_colors.yaml
Copy contents to the created file
mkdir ~/.dotfiles
Copy zsh
folder to ~/.dotfiles/
Rewrite shell config file
echo "source ~/.dotfiles/zsh/zshrc.zsh" > ~/.zshrc
Update config files (see dotfiles) and then run
source ~/.zshrc