simple, beautiful, functional
ⓘ used by https://github.com/qoomon/my-zsh
![prompt_example](https://private-user-images.githubusercontent.com/3963394/338172615-56c7072e-7fe2-426f-8679-7ec032679162.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4Njc4NTMsIm5iZiI6MTcyMzg2NzU1MywicGF0aCI6Ii8zOTYzMzk0LzMzODE3MjYxNS01NmM3MDcyZS03ZmUyLTQyNmYtODY3OS03ZWMwMzI2NzkxNjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTdUMDQwNTUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Njc5M2NjYzU4M2JiNWY5NTYwODg0ZmVhOGEyYWYzNjk0YTBlZGZiMjYzY2FmZGM3M2M0ZmIwODQxMmNlNjM3MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Al2NakMCbR790dbsqVyTJt8aVPjFTvwqNCpep8U_Seo)
- 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•