summaryrefslogtreecommitdiff
path: root/themes/bira.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2010-11-19 10:42:55 -0800
committerRobby Russell <robby@planetargon.com>2010-11-19 10:42:55 -0800
commit8bda5d185aedefb08bf3f98c8e930cc1f380370d (patch)
treea2e5bf526d33a12e8f340872826a622719a19c60 /themes/bira.zsh-theme
parent580eda4dcae7332669677974526c670e896a08a1 (diff)
parent72d7c0363c849fe166577ad91f06ab087feb99b1 (diff)
downloadzsh-8bda5d185aedefb08bf3f98c8e930cc1f380370d.tar.gz
zsh-8bda5d185aedefb08bf3f98c8e930cc1f380370d.tar.bz2
zsh-8bda5d185aedefb08bf3f98c8e930cc1f380370d.zip
Merge branch 'master' of https://github.com/Bira/oh-my-zsh into Bira-master
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%}"