summaryrefslogtreecommitdiff
path: root/themes/jaischeema.zsh-theme
diff options
context:
space:
mode:
authorjaischeema <jaischeema@gmail.com>2012-07-03 13:02:29 +1000
committerjaischeema <jaischeema@gmail.com>2012-07-03 13:02:29 +1000
commitc23392ac5b9e8655a42e827983ba93636801136b (patch)
tree856f07bb6bcfe4f205598146ad71af49a4d5c2d2 /themes/jaischeema.zsh-theme
parentd165a84dc0e8d2eb0774ed26995e7046c0aff41f (diff)
downloadzsh-c23392ac5b9e8655a42e827983ba93636801136b.tar.gz
zsh-c23392ac5b9e8655a42e827983ba93636801136b.tar.bz2
zsh-c23392ac5b9e8655a42e827983ba93636801136b.zip
Add new theme : jaischeema
Diffstat (limited to 'themes/jaischeema.zsh-theme')
-rw-r--r--themes/jaischeema.zsh-theme22
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/jaischeema.zsh-theme b/themes/jaischeema.zsh-theme
new file mode 100644
index 000000000..06778216d
--- /dev/null
+++ b/themes/jaischeema.zsh-theme
@@ -0,0 +1,22 @@
+# ------------------------------------------------------------------------------
+# FILE: jaischeema.zsh-theme
+# DESCRIPTION: oh-my-zsh theme file.
+# AUTHOR: Jais Cheema
+# VERSION: 0.0.1
+# ------------------------------------------------------------------------------
+
+
+
+PROMPT='%{$fg_bold[magenta]%}%m%{$reset_color%} at %{$fg_bold[green]%}%~%{$reset_color%} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}%{$fg[red]%}❯%{$reset_color%} '
+
+ZSH_THEME_GIT_PROMPT_PREFIX="±(%{$fg[red]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
+
+if which rbenv &> /dev/null; then
+ RPROMPT='%{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//")%{$reset_color%}'
+else
+if which rvm-prompt &> /dev/null; then
+ RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
+fi