Last active
October 5, 2015 21:47
-
-
Save mparker17/2881836 to your computer and use it in GitHub Desktop.
My ZSH 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
PROMPT='%{$fg[yellow]%}%n%{$reset_color%}@%{$fg[blue]%}%m%{$reset_color%}:%{$fg[red]%}%2~%{$reset_color%} $(git_prompt_info)%# ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=") " | |
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN=" ✓%{$reset_color%}" |
Turns out you can put this in ~/.oh-my-zsh/custom
without Git detecting a file being added to the oh-my-zsh repo, because the custom
folder is .gitignore
d.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://gist.github.com/mparker17/6032092 for my zshrc.