Go to file
2023-03-04 18:26:14 +08:00
2023-03-04 17:21:14 +08:00
2020-11-22 18:20:19 +08:00
2023-03-04 12:20:32 +08:00
2023-03-04 17:07:03 +08:00
2023-03-04 18:26:14 +08:00

ohmyzsh-theme-passion

An oh-my-zsh theme.

Introduction

passion

  • real time prompt.
  • command running time cost prompt.
  • command running error hint.

Usage

Basic ZSH Theme

Install theme

  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
  • may caused by set timer to zsh prompt by zle reset-prompt;;
  • see also: #4;

Extra iTerm2 Preference

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

Plugin

Description
An oh-my-zsh theme. But cost function removed.
Readme 30 MiB
Languages
Shell 100%