ZSH+Oh-My-Zsh+Powerlevel10k

PHOTO EMBED

Mon Apr 17 2023 07:59:49 GMT+0000 (Coordinated Universal Time)

Saved by @Shuhab #bash

# Install zsh + git
sudo apt-get install zsh git

# Download Hack Nerd font
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/Hack.zip

# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# Install syntax highlighting plugin
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# Install auto suggestion plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# Install ruby (On Ubuntu)
sudo apt install build-essential ruby-full

# Install colorls
sudo gem install colorls

# Clone Powerlevel10k 
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
# Insert to .zshrc
# ZSH_THEME="powerlevel10k/powerlevel10k"
# plugins=( git zsh-syntax-highlighting zsh-autosuggestions )
# if [ -x "$(command -v colorls)" ]; then
#    alias ls="colorls"
#    alias la="colorls -al"
# fi

# Source file
source ~/.zshrc
content_copyCOPY