Skip to content

Instantly share code, notes, and snippets.

@qaisjp
Last active November 11, 2019 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qaisjp/dfcfff34f5c9663d8a2843d064ff6ff6 to your computer and use it in GitHub Desktop.
Save qaisjp/dfcfff34f5c9663d8a2843d064ff6ff6 to your computer and use it in GitHub Desktop.
The zsh theme that I use, based on robbyrussell. I was very creative when I hopped over to zsh, and named it "robbynew".
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
# You may choose to remove %n@ vv here!
PROMPT='%{$fg_bold[green]%}%n@%m:%{$fg[cyan]%} %~%{$reset_color%} $(git_prompt_info)
${ret_status}%{$reset_color%}'
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