diff options
author | Claus Witt <claus@wittnezz.dk> | 2010-11-24 11:06:05 +0100 |
---|---|---|
committer | Claus Witt <claus@wittnezz.dk> | 2010-11-24 11:06:05 +0100 |
commit | a116b6f75a036aad60bd506eb76d153ce7286f72 (patch) | |
tree | aa21a7effb1820d2e29d9bf37bbadcd43ff39ae9 /themes | |
parent | bdaf872ce6e411f881e5e6138fc61a9c1645e67a (diff) | |
parent | 583c984a864969579a0c258528ae93f9529308d4 (diff) | |
download | zsh-a116b6f75a036aad60bd506eb76d153ce7286f72.tar.gz zsh-a116b6f75a036aad60bd506eb76d153ce7286f72.tar.bz2 zsh-a116b6f75a036aad60bd506eb76d153ce7286f72.zip |
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bira.zsh-theme | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/bira.zsh-theme b/themes/bira.zsh-theme new file mode 100644 index 000000000..f0ee6a5bd --- /dev/null +++ b/themes/bira.zsh-theme @@ -0,0 +1,14 @@ +# ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png +local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" + +local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' +local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}' +local rvm_ruby='%{$fg[red]%}‹$(~/.rvm/bin/rvm-prompt i v g)›%{$reset_color%}' +local git_branch='$(git_prompt_info)%{$reset_color%}' + +PROMPT="╭─${user_host} ${current_dir} ${rvm_ruby} ${git_branch} +╰─%B$%b " +RPS1="${return_code}" + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" +ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" |