Skip to content

Instantly share code, notes, and snippets.

@MartinBrugnara
Created January 25, 2022 22:35
Show Gist options
  • Save MartinBrugnara/0c4c9ff9b27723d0d2534ee46317945f to your computer and use it in GitHub Desktop.
Save MartinBrugnara/0c4c9ff9b27723d0d2534ee46317945f to your computer and use it in GitHub Desktop.
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
# PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
PROMPT+=' %{$fg[cyan]%}%/%{$reset_color%} $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment