Skip to content

Instantly share code, notes, and snippets.

@lesm
Last active February 27, 2017 14:40
Show Gist options
  • Select an option

  • Save lesm/e8e5f449a428e52aa6c0 to your computer and use it in GitHub Desktop.

Select an option

Save lesm/e8e5f449a428e52aa6c0 to your computer and use it in GitHub Desktop.
Theme personal para zsh
# Theme personal lesm
PROMPT='%{$fg_bold[green]%} ➜ %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%}$(git_prompt_status)%{$reset_color%}'
#git_prompt_info
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[yellow]%} ✘ %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})%{$fg[green]%} ✔ %{$reset_color%}"
#git_prompt_status
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg_bold[green]$fg[green]%} ✚ "
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg_bold[white]$fg[white]%} ✱ "
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg_bold[red]$fg[red]%} ✖ "
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg_bold[magenta]$fg[magenta]%} ➜ "
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg_bold[yellow]$fg[yellow]%} § "
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg_bold[cyan]$fg[cyan]%} ● "
ZSH_PROMPT_BASE_COLOR="%{$fg_bold[blue]%}"
ZSH_THEME_REPO_NAME_COLOR="%{$fg_bold[red]%}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment