Skip to content

Instantly share code, notes, and snippets.

@devoto13
Last active October 2, 2022 14:58
Show Gist options
  • Save devoto13/fc70cf3d31ae74d02c68f0d2441e49e3 to your computer and use it in GitHub Desktop.
Save devoto13/fc70cf3d31ae74d02c68f0d2441e49e3 to your computer and use it in GitHub Desktop.
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$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