progrez.cloud

Oh my zsh.

01 April 2023

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh


Install Oh my ZSH.

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


Install plugins.

autosuggesions plugin

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

zsh-syntax-highlighting plugin

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

zsh-fast-syntax-highlighting plugin

git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting

zsh-autocomplete plugin

git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete


Enable plugins by adding them to .zshrc.

  • Open .zshrc
vim ~/.zshrc
  • Find the line which says
plugins=(git)
  • Replace that line with
plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)


Honukai theme and colors for Oh My ZSH and iTerm


Installation


Theme

The theme is based on the wonderfully made ys theme from the official oh-my-zsh repo.

Drop honukai.zsh-theme into the

~/.oh-my-zsh/custom/themes/

directory (simply create the themesdirectory if it does not exist)

Change the theme variable name to ZSH_THEME="honukai" in ~/.zshrc

Reload ZSH with source ~/.zshrc


Colors

Open Preferences pane on the Profiles tab in iTerm

Switch to the Colors tab and import the honukai.itermcolors (drop-down in the lower right corner)

NOTE: You'll need at least iTerm3.4.19 (aka 3.4)


Extra eye-candy

There's a bunch of settings you might want to change in your profile in order to get the extra eye-candy.


Text tab:

Cursor

  • Set to Vertical

Font

Text Rendering

  • Disable Draw bold in bold font
  • Disable Draw bold in bright colors
  • Enable Draw anti-aliased text with thin strokes


Window tab

Window appearance

  • Transparency to 10-15%
  • Blur to 40-50%