Skip to content

Instantly share code, notes, and snippets.

@asepawal
Last active January 3, 2023 04:24
Show Gist options
  • Save asepawal/ebe9f1c62706c0ef00d58015e7b11ff5 to your computer and use it in GitHub Desktop.
Save asepawal/ebe9f1c62706c0ef00d58015e7b11ff5 to your computer and use it in GitHub Desktop.
Iterm2 + zsh + Oh-my-zsh + powerline10k

Install Iterm2 on client

Install font on client

Meslo LG L DZ Regular Nerd Font Complete (Size: 14pt)

Install Oh-my-zsh on server (and client if necessary)

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

Install theme

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

some useful plugins

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

.zshrc file (of course on server)

export ZSH="$HOME/.oh-my-zsh"

ZSH_THEME="powerlevel10k/powerlevel10k"

plugins=(
  git
  iterm2
  python
  composer
  zsh-syntax-highlighting
  zsh-autosuggestions
  docker docker-compose
)

source $ZSH/oh-my-zsh.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment