c23392ac5b9e8655a42e827983ba93636801136b
- Author
- jaischeema <jaischeema@gmail.com>
- Committer
- jaischeema <jaischeema@gmail.com>
- Date
Message
Add new theme : jaischeema
Diff
1diff --git a/themes/jaischeema.zsh-theme b/themes/jaischeema.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..06778216db2a3a94d6d5d5686676007a6ce5638c
4--- /dev/null
5+++ b/themes/jaischeema.zsh-theme
6@@ -0,0 +1,22 @@
7+# ------------------------------------------------------------------------------
8+# FILE: jaischeema.zsh-theme
9+# DESCRIPTION: oh-my-zsh theme file.
10+# AUTHOR: Jais Cheema
11+# VERSION: 0.0.1
12+# ------------------------------------------------------------------------------
13+
14+
15+
16+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%} '
17+
18+ZSH_THEME_GIT_PROMPT_PREFIX="±(%{$fg[red]%}"
19+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
20+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
21+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
22+
23+if which rbenv &> /dev/null; then
24+ RPROMPT='%{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//")%{$reset_color%}'
25+else
26+if which rvm-prompt &> /dev/null; then
27+ RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
28+fi