Skip to content

Instantly share code, notes, and snippets.

@Rem0ld
Created January 5, 2021 08:15
Show Gist options
  • Save Rem0ld/e74643611b6c6daebc5a5395b182c7e9 to your computer and use it in GitHub Desktop.
Save Rem0ld/e74643611b6c6daebc5a5395b182c7e9 to your computer and use it in GitHub Desktop.
Command line modif robbyrussel
NEWLINE=$'\n'
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[purple]%}%/%{$reset_color%} $(git_prompt_info)${NEWLINE} '
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