Last active
August 29, 2015 14:06
-
-
Save mbauhardt/d8e1c483a5868b187d5d to your computer and use it in GitHub Desktop.
spowerline.zsh-theme - zsh theme for oh-my-zsh - 0.1.1
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
#https://github.com/mbauhardt/spowerline | |
#Generated on Wed Sep 10 21:10:28 CEST 2014 | |
# | |
PROMPT=$(echo ' | |
%{$bg[blue]%}%{$fg_bold[red]%}$(true) %(?..%?)%{$reset_color%}%{$bg[$(echo blue)]%}%{$fg[blue]%}$(true && echo -e "\xE2\xAE\x80")%{$reset_color%}%{$bg[blue]%}%{$fg_bold[black]%}$(true) %~%{$reset_color%}%{$bg[$({git rev-parse --is-inside-work-tree &> /dev/null && echo green}||{!git rev-parse --is-inside-work-tree &> /dev/null && echo default})]%}%{$fg[blue]%}$(true && echo -e "\xE2\xAE\x80")%{$reset_color%}%{$bg[green]%}%{$fg_bold[black]%}$(git rev-parse --is-inside-work-tree &> /dev/null && ZSH_THEME_GIT_PROMPT_PREFIX=$(echo -e " \xe2\xad\xa0 ") && ZSH_THEME_GIT_PROMPT_SUFFIX='' && ZSH_THEME_GIT_PROMPT_DIRTY=$(echo -e " \xe2\x9c\x97 ") && ZSH_THEME_GIT_PROMPT_CLEAN='' && git_prompt_info)$(git rev-parse --is-inside-work-tree &> /dev/null && ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE=$(echo -e " \xe2\x86\x91 ") && ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE=$(echo -e " \xe2\x86\x93 ") && ZSH_THEME_GIT_PROMPT_DIVERGED_REMOTE=$(echo -e " \xe2\x87\x85 ") && git_remote_status)%{$reset_color%}%{$bg[$(echo default)]%}%{$fg[green]%}$(git rev-parse --is-inside-work-tree &> /dev/null && echo -e "\xE2\xAE\x80")%{$reset_color%} | |
%% ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment