mirror of
https://github.com/ChesterYue/ohmyzsh-theme-passion.git
synced 2026-07-21 20:11:03 +00:00
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# ohmyzsh-theme-passion
|
|
|
|
An oh-my-zsh theme.
|
|
|
|
## Introduction
|
|
|
|

|
|
|
|
* real time prompt.
|
|
* command running time cost prompt.
|
|
* command running error hint.
|
|
|
|
## Usage
|
|
|
|
### Basic ZSH 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```;
|
|
|
|
REF: [Overriding and adding themes](https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#overriding-and-adding-themes);
|
|
|
|
### Extra iTerm Preference
|
|
|
|
#### Config color
|
|
|
|
<!-- cspell:disable-next-line -->
|
|
* iTerm2: settings -> Profiles -> Colors -> Color Presets -> import ```./passion.itermcolors```: 
|
|
|
|
* alternate terminal: try [REF](https://iterm2colorschemes.com/);
|
|
|
|
## Trouble Shooting
|
|
|
|
### macOS
|
|
|
|
passion.zsh-theme depends on cmd ```gdate``` to get current time in milliseconds which is not installed by default in macOS.
|
|
|
|
to get ```gdate``` by running ```brew install coreutils;```
|