diff options
author | Ubiratan Pires Alberton <u.alberton@gmail.com> | 2010-07-30 09:27:32 -0300 |
---|---|---|
committer | Ubiratan Pires Alberton <u.alberton@gmail.com> | 2010-11-14 10:21:28 -0200 |
commit | 72d7c0363c849fe166577ad91f06ab087feb99b1 (patch) | |
tree | 3d27c04654ce6fff18bcd56488fb572956e591bf /themes/bira.zsh-theme | |
parent | dc12853b0c3e5af9e42f44cb9efdf57d44d20711 (diff) | |
download | zsh-72d7c0363c849fe166577ad91f06ab087feb99b1.tar.gz zsh-72d7c0363c849fe166577ad91f06ab087feb99b1.tar.bz2 zsh-72d7c0363c849fe166577ad91f06ab087feb99b1.zip |
Added my own theme, based on macovsky-ruby and funky
Diffstat (limited to 'themes/bira.zsh-theme')
-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%}" |