mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
Added the powerline theme file
This commit is contained in:
17
README.md
17
README.md
@@ -2,3 +2,20 @@ 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
12
powerline.zsh-theme
Normal 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%}'
|
||||||
Reference in New Issue
Block a user