Skip to content

Ferdinand Agyei-Yeboah

Quick Zsh Setup

November 15, 2022

Just quick steps for my zsh setup

  • Install Zsh
    • Zsh comes pre-installed in many distributions, but can install it if not.
  • Install powerlevel10K
    • I used oh-my-zsh method.
    • Need oh-my-zsh for that.
  • Configure Zsh syntax highlighting
    • Reference: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md
    • I directly edited the ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/highlighters/main/main-highlighter.zsh file to add bold to the highlight styles. I also added underline to the unknown token to be able to easily differentiate.
  • ElementaryOS Notifications
    • By default elementary os doesn’t send notifications for zsh terminals: https://github.com/elementary/terminal#notifications
    • Run this (stated in above link):
      builtin . /usr/share/io.elementary.terminal/enable-zsh-completion-notifications || builtin true

More Reading:


Software Engineering Tutorials & Best Practices