Oh-My-Zsh Setup

Oh My ZSH logo!

Install zsh

sudo apt install zsh -y
brew install zsh

Install Oh My Zsh

Via Curl

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Via wget

sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Install powerlevel10k

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Change the Theme

code-insiders ~/.zshrc
code ~/.zshrc
vim ~/.zshrc
nano ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"

Change to zsh and update

zsh && source ~/.zshrc

Install Plugins

Change directory

cd ~/.oh-my-zsh/plugins/

Clone plugins

git clone https://github.com/zsh-users/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting

or altogether :

git clone https://github.com/zsh-users/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-completions && git clone https://github.com/zsh-users/zsh-syntax-highlighting

Update plugin list

In ~/.zshrc:

code-insiders ~/.zshrc
plugins=(git zsh-autosuggestions zsh-completions zsh-syntax-highlighting)

update

cd ~ && source ~/.zshrc

Setup ssh

ssh-copy-id -i ~/.ssh/id_rsa user@host

test:

ssh -i ~/.ssh/id_rsa user@host