simple, beautiful, functional
ⓘ used by https://github.com/qoomon/my-zsh
- Display username
- Username turns red if
root
- Username turns red if
- Display host
- Display current directory
$PWD
- Home directory
$HOME
is displayed as~
- Home directory
- Display git infos
- Branch/Tag
- Dirty indicator
*
- Indicator if your local repository is ahead
⇡
or behind origin⇣
- Display exit code
$status
after command failed
PROMPT_INFO_INDICATOR
default#
PROMPT_INFO_USER
defaulttrue
PROMPT_INFO_HOST
defaulttrue
PROMPT_INFO_GIT
defaulttrue
PROMPT_PRIMARY_INDICATOR
default‣
PROMPT_SECONDARY_INDICATOR
default•
PROMPT_INFO_SEPERATOR
default•