Skip to content

Instantly share code, notes, and snippets.

@oliora
Created September 22, 2021 10:47
Show Gist options
  • Save oliora/b475cadc7b22ccd2581318ca240cab4a to your computer and use it in GitHub Desktop.
Save oliora/b475cadc7b22ccd2581318ca240cab4a to your computer and use it in GitHub Desktop.
zsh prompt
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="]%{$fg[red]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="]"
export PROMPT='%{$BG[237]%}%{$fg[white]%}💰 %3c%{$reset_color%} $(git_prompt_info)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment