Skip to content

Instantly share code, notes, and snippets.

@joaobb
Created February 24, 2021 13:07
Show Gist options
  • Select an option

  • Save joaobb/00075e5ac9c3f0fe03232a604dcc6316 to your computer and use it in GitHub Desktop.

Select an option

Save joaobb/00075e5ac9c3f0fe03232a604dcc6316 to your computer and use it in GitHub Desktop.

Revisions

  1. joaobb created this gist Feb 24, 2021.
    9 changes: 9 additions & 0 deletions zsh_theme
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    local ret_status="%(?:%{$fg_bold[cyan]%}⎛ :%{$fg_bold[red]%}⎛ )"
    PROMPT='${ret_status}%{$fg[cyan]%}%~%{$reset_color%} $(git_prompt_info)%{$reset_color%}
    %(?:%{$fg_bold[cyan]%}⎝ $:%{$fg_bold[red]%}⎝ $)%{$reset_color%} '


    ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$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]%})"