summaryrefslogtreecommitdiff
path: root/themes/bira.zsh-theme
diff options
context:
space:
mode:
authorClaus Witt <claus@wittnezz.dk>2010-11-25 21:44:40 +0100
committerClaus Witt <claus@wittnezz.dk>2010-11-25 21:44:40 +0100
commit8f95ca6b8d32b32659460c4aa47802bda75e5aae (patch)
treeaa21a7effb1820d2e29d9bf37bbadcd43ff39ae9 /themes/bira.zsh-theme
parentbdaf872ce6e411f881e5e6138fc61a9c1645e67a (diff)
parent583c984a864969579a0c258528ae93f9529308d4 (diff)
downloadzsh-8f95ca6b8d32b32659460c4aa47802bda75e5aae.tar.gz
zsh-8f95ca6b8d32b32659460c4aa47802bda75e5aae.tar.bz2
zsh-8f95ca6b8d32b32659460c4aa47802bda75e5aae.zip
Merge branch 'master' of https://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%}"