Skip to content

Instantly share code, notes, and snippets.

@romulomourao
Last active May 23, 2024 02:20
Show Gist options
  • Save romulomourao/5d3e4d05780a5fc6917c2b0ae84442a4 to your computer and use it in GitHub Desktop.
Save romulomourao/5d3e4d05780a5fc6917c2b0ae84442a4 to your computer and use it in GitHub Desktop.
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%n%{$fg[cyan]%}@%{$fg_bold[green]%}%m %{$fg_bold[green]%}%p %{$fg[cyan]%}%~ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
RPS1='$(ruby_prompt_info) %{$fg[green]%} ⬢ $(node -v) %{$reset_color%} $EPS1'
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]%})"
ZSH_THEME_RVM_PROMPT_PREFIX="%{$fg[red]%}💎 "
ZSH_THEME_RVM_PROMPT_SUFFIX="%{$reset_color%}"
@romulomourao
Copy link
Author

v2

local ret_status="%(?:%{$fg_bold[green]%}➜:%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info) '

RPS1='%{$fg[red]%} $(ruby -v | egrep -o "([0-9]{1,}\.)+[0-9]{1,}") %{$fg[green]%} $(node -v) %{$reset_color%} $EPS1'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[green]%}git:%{$fg_bold[blue]%}(%{$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]%})"
ZSH_THEME_RVM_PROMPT_PREFIX="%{$fg[red]%} "
ZSH_THEME_RVM_PROMPT_SUFFIX="%{$reset_color%}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment