Skip to content

Instantly share code, notes, and snippets.

@gcalcettebr
Created June 16, 2018 19:38
Show Gist options
  • Save gcalcettebr/7bdb45fa4efa38ed37e1a3c74486cf52 to your computer and use it in GitHub Desktop.
Save gcalcettebr/7bdb45fa4efa38ed37e1a3c74486cf52 to your computer and use it in GitHub Desktop.
## Author Guilherme Calcette 16/06/2018 - [email protected]
## Original Themes "Arrow" And "AlanPeanBody" Thanks Bro..
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="white"; fi
local user='Gcalcette MacBook Pro :: ➤ %{$reset_color%}'
local pwd='%{$fg[yellow]%}%~%{$reset_color%}'
PROMPT="${user} ${pwd}$ "
RPROMPT='%{$fg[$NCOLOR]%}%p $(git_prompt_info)%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗ %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔ %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}✚ "
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%}⚑ "
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}✖ "
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}▴ "
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}§ "
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[white]%}◒ "
# See http://geoff.greer.fm/lscolors/
export LSCOLORS="gxfxcxdxbxegedabagacad"
export LS_COLORS="di=36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment