Skip to content

Instantly share code, notes, and snippets.

@danmux
Created February 27, 2019 11:34
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 danmux/1184e00da401b5bb48ef2c69b43a64fc to your computer and use it in GitHub Desktop.
Save danmux/1184e00da401b5bb48ef2c69b43a64fc to your computer and use it in GitHub Desktop.
oh my zsh robbyrussell light theme
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[black]%}%c%{$reset_color%} $(git_prompt_info)'
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[red]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
@AkshayRaj
Copy link

How to set this as a theme in ZSH ?

@sylvain-reynaud
Copy link

How to set this as a theme in ZSH ?

add this file in /home/$USET/.oh-my-zsh/themes then set ZSH_THEME="robbyrussell-light" in ~/.zshrc

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