Skip to content

ChesterYue/ohmyzsh-theme-passion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ohmyzsh-theme-passion

Introduction

An oh-my-zsh theme; demo.png

Feature

  • real time prompt;
  • command running time cost prompt;
  • command running error hint;
  • git status prompt;

Usage

Basic Zsh Theme

Install

  1. clone repo: git clone https://github.com/ChesterYue/ohmyzsh-theme-passion;
  2. copy theme: cp ./ohmyzsh-theme-passion/passion.zsh-theme ~/.oh-my-zsh/themes/passion.zsh-theme;
  3. modify rc: open ~/.zshrc find ZSH_THEME edit to ZSH_THEME="passion";
  4. execute rc: source ~/.zshrc;

Trouble Shooting

macOS, command not found: gdate
  • passion.zsh-theme depends on cmd gdate to get current time in milliseconds. get gdate on macOS by running brew install coreutils then source ~/.zshrc;
  • see also: #12;
Linux, command not found: bc
  • passion.zsh-theme depends on cmd bc to calculate the command running time cost. get bc on Linux then source ~/.zshrc;
  • see also: #13;
Centos 7, shell exit

Extra Preferences

Zsh Plugins

  1. zsh-autosuggestions;
  2. zsh-syntax-highlighting;

iTerm2 Preferences

Color
Status Bar
  • iTerm2: settings -> Appearance && settings -> Profiles -> Session -> Configure Status Bar status_0.png status_1.png
Font
  • install JetBrains Mono;
  • iTerm2: settings -> Appearance && settings -> Profiles -> Text -> Font font.png