- real time prompt;
- command running time cost prompt;
- command running error hint;
- git status prompt;
- clone repo:
git clone https://github.com/ChesterYue/ohmyzsh-theme-passion
; - copy theme:
cp ./ohmyzsh-theme-passion/passion.zsh-theme ~/.oh-my-zsh/themes/passion.zsh-theme
; - modify rc: open
~/.zshrc
findZSH_THEME
edit toZSH_THEME="passion"
; - execute rc:
source ~/.zshrc
;
- see also: Overriding and adding themes;
- passion.zsh-theme depends on cmd
gdate
to get current time in milliseconds. getgdate
on macOS by runningbrew install coreutils
thensource ~/.zshrc
; - see also: #12;
- passion.zsh-theme depends on cmd
bc
to calculate the command running time cost. get bc on Linux thensource ~/.zshrc
; - see also: #13;
- may caused by set timer to zsh prompt;
- see also: #4;
- iTerm2: settings -> Profiles -> Colors -> Color Presets -> import
./passion.itermcolors
- alternate terminal: try Alternate terminal installation and configuration;
- install JetBrains Mono;
- iTerm2: settings -> Appearance && settings -> Profiles -> Text -> Font