summaryrefslogtreecommitdiff
path: root/themes/bira.zsh-theme
diff options
context:
space:
mode:
authorNanoTech <nanotech008@gmail.com>2011-02-05 23:51:05 -0600
committerNanoTech <nanotech008@gmail.com>2011-02-05 23:51:05 -0600
commit143dd165e973a3559fbc1b085f1ff05e263f85b0 (patch)
tree25aa67cf40f468d658ec6f37657e8efa3c128ef8 /themes/bira.zsh-theme
parent2a203b558fd6328c9a91e9dbbf145d91e7ba7ed1 (diff)
parent01b0366f3e27cf30f3882870100f14625fc267d1 (diff)
downloadzsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.tar.gz
zsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.tar.bz2
zsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/bira.zsh-theme')
-rw-r--r--themes/bira.zsh-theme14
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%}"