Interactive Demo & Configurator
TIP
Another convenient way to experiment with Git Prompt Kit is to install (even temporarily!) Hometown, a Git Prompt Kit-powered zsh prompt.
Components
These change according to the context and configuration. Adjust those, and come back here to see the result.
TIP
Adjust Configuration and Context, and scroll back here to see the result.
Name | Value |
---|---|
GIT_PROMPT_KIT_ACTION | |
GIT_PROMPT_KIT_AHEAD | |
GIT_PROMPT_KIT_ASSUMED_UNCHANGED | |
GIT_PROMPT_KIT_BEHIND | |
GIT_PROMPT_KIT_CHAR * | %% |
GIT_PROMPT_KIT_CONFLICTED | UU |
GIT_PROMPT_KIT_CWD | olets/git-prompt-kit |
GIT_PROMPT_KIT_DELETED | _D |
GIT_PROMPT_KIT_DELETED_STAGED | D_ |
GIT_PROMPT_KIT_DIRTY | 0 |
GIT_PROMPT_KIT_HEAD | main |
GIT_PROMPT_KIT_PUSH | |
GIT_PROMPT_KIT_PUSH_AHEAD | |
GIT_PROMPT_KIT_PUSH_BEHIND | |
GIT_PROMPT_KIT_REF | main |
GIT_PROMPT_KIT_REMOTE | |
GIT_PROMPT_KIT_MODIFIED | _M |
GIT_PROMPT_KIT_MODIFIED_STAGED | M_ |
GIT_PROMPT_KIT_NEW | A_ |
GIT_PROMPT_KIT_REPO_ROOT | olets/git-prompt-kit |
GIT_PROMPT_KIT_REPO_SUBDIRECTORY | |
GIT_PROMPT_KIT_SKIP_WORKTREE | |
GIT_PROMPT_KIT_STASHES | |
GIT_PROMPT_KIT_STATUS | ??UU_D_MA_D_M_ |
GIT_PROMPT_KIT_STATUS_EXTENDED | |
GIT_PROMPT_KIT_TAG | |
GIT_PROMPT_KIT_UNTRACKED | ?? |
GIT_PROMPT_KIT_USERHOST | olets@dev |
%%
, for example, becomes %
Configuration
All configuration changes you make below will be listed here, ready for copying and pasting into your .zshrc
.
Behavior Options
Color Options
Content Options
Symbol Options
**The default if
GIT_PROMPT_KIT_VERBOSE_DEFAULT_SYMBOLS
is non-zero.