zsh "zish" theme

June 10, 2022 · View on GitHub

This is a basic theme for zsh based on fishs default look. It previously lived in my linux stuff repo.

screenshot

Notable differences from fish are:

  • hostname is colored yellow even when not connected via ssh
  • the prompt arrow is not >, but »

Installation

To use this theme, first make sure you have zsh and oh-my-zsh installed. For correct syntax highlighting also install the zsh-syntax-highlighting plugin. You can then download the zish.zsh-theme file into your ZSH_CUSTOM directory (~/.oh-my-zsh/custom by default):

curl https://raw.githubusercontent.com/RubixDev/zish/main/zish.zsh-theme -o "${ZSH_CUSTOM:-${ZSH:-$HOME/.oh-my-zsh}/custom}/themes/zish.zsh-theme"

or

wget https://raw.githubusercontent.com/RubixDev/zish/main/zish.zsh-theme -O "${ZSH_CUSTOM:-${ZSH:-$HOME/.oh-my-zsh}/custom}/themes/zish.zsh-theme"

Afterwards you can set ZSH_THEME="zish" in your ~/.zshrc.