Created
February 27, 2019 11:34
-
-
Save danmux/1184e00da401b5bb48ef2c69b43a64fc to your computer and use it in GitHub Desktop.
oh my zsh robbyrussell light theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]%})" |
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
How to set this as a theme in ZSH ?