Oh-my-zsh

ohmyzsh.sh is a great framework for managing your ZSH environment. Sometimes I have found the prompt can get really slow if you use many plugins, but I only use 3 of them and a prompt theme.

Follow their instructions or use libsh that I wrote to do the simple install.

Plugins I use

There are really only 2 plugins I use and here are the names and why:

plugins=(zsh-autosuggestions history-substring-search zsh-syntax-highlighting)
  1. super fast to find recent commands
  2. immediate feedback if the command exists or not based on color
  3. current git branch
  4. current state of git changes needed
  5. if last command took more than 10 seconds, time to execute is displayed
  6. SpaceShip-Prompt shows the following info
    1. Version of Python/Go/Nvm/Ruby/Docker
    2. Battery level being low
    3. Virtualenv loaded

SpaceShip-Prompt

Site: https://github.com/spaceship-prompt/spaceship-prompt

# note: depending on your browser font
# you might not see the icon between the
# word "on" and "master" showing the git
# branch icon
libsh on  master [$!?] on 🐳 v20.10.6
➜

To see the icons, you should use a font that includes the powerline extended glyphs.

Previous
Next