Added the powerline theme file

This commit is contained in:
Jérémy Romey
2012-07-12 14:26:49 +02:00
parent 86aa61cc8b
commit f9236afe52
2 changed files with 30 additions and 1 deletions

View File

@@ -1,4 +1,21 @@
oh-my-zsh-powerline-theme
=========================
oh-my-zsh Powerline style Theme
oh-my-zsh Powerline style Theme
Set Up
------
# Copy the **powerline.zsh-theme** in **.oh-my-zsh/themes/**.
# Configure the theme in your **.zshrc** file :
```
ZSH_THEME="powerline"
```
Requirements
------------
* Vim Powerline patched font : See [Powerline for vim](https://github.com/Lokaltog/vim-powerline.git) for more info.
* Z shell (zsh) : See [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) for more info.

12
powerline.zsh-theme Normal file
View File

@@ -0,0 +1,12 @@
# FreeAgent puts the powerline style in zsh !
ZSH_THEME_GIT_PROMPT_PREFIX=" \u2b60 "
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY=" δ"
ZSH_THEME_GIT_PROMPT_CLEAN=""
PROMPT='
'%{$bg[green]%}%{$fg[black]%}' '%n' '%{$reset_color%}%{$fg[green]%}%{$bg[blue]%}$'\u2b80'%{$reset_color%}%{$fg[white]%}%{$bg[blue]%}' '%1~$'$(git_prompt_info) '%{$reset_color%}%{$fg[blue]%}$'\u2b80%{$reset_color%} '
RPROMPT=%F{white}$' \u2b82%{$reset_color%}%{$bg[white]%} %F{gray}%D{%X}% \u2b83 %D{%Y-%m-%e}%f %{$reset_color%}'