Created
January 31, 2012 21:59
-
-
Save supermarin/1713260 to your computer and use it in GitHub Desktop.
My 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
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
| local current_dir="%{$terminfo[bold]$fg[green]%}%2c%{$reset_color%}" | |
| local git_escaped='$(git_prompt_info)' | |
| local green_arrow="%{$fg_bold[green]%}➜" | |
| PROMPT="${git_escaped} ${green_arrow} " | |
| RPS1="${return_code}" | |
| RPROMPT="${current_dir}" | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[green]%}]%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment