Created
June 23, 2014 11:19
-
-
Save chatman-media/a590577773c679e03654 to your computer and use it in GitHub Desktop.
zsh theme
This file contains hidden or 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
| if which rbenv &> /dev/null; then | |
| RUBY_PROMPT="%{$fg_bold[blue]%}rbenv:%{$reset_color%}(%{$fg[green]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg_bold[blue]%})%{$reset_color%} " | |
| fi | |
| local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s %{$reset_color%})" | |
| PATH_PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$reset_color%}%{$fg[cyan]%}%c%{$reset_color%} ' | |
| GIT_PROMPT='%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' | |
| PROMPT="%{$fg[blue]%}%D{[%I:%M:%S]} $PATH_PROMPT$RUBY_PROMPT$GIT_PROMPT | |
| %B$%b " | |
| 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]%})" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment