Terminal Customisation

Oh my zsh

https://github.com/ohmyzsh/ohmyzsh

Basic Installation

Oh My Zsh is installed by running one of the following commands in your terminal. You can install this via the command-line with either curl, wget or another similar tool.

Method

Command

curl

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

wget

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

fetch

sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Powerlevel 10k

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

https://github.com/romkatv/powerlevel10k

Install Fonts

Nerd Fonts

Requirements

sudo atp install bc
sudo apt-get install fontforge;

Download Fonts

git clone --depth=1 https://github.com/ryanoasis/nerd-fonts

Patch Fonts

cd nerd-fonts/bin/scripts/
./gotta-patch-em-all-font-patcher\!.sh 'Fira'

Install Font

cd ../..
./install.sh FiraCode

Change Fonts

Test Fonts

for i in {62208..62251}; do printf "\u$(printf %x $i) "; done

Show VPN_IP

Fzf

Install FZF

apt install fzf ripgrep

add FZF to ~/.zshrc config file

More Plugins

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

Restart Terminal

Close and reopen, or type:

source ~/.zshrc

Last updated