Skip to content

Commit ae1cbd9

Browse files
committed
Add gebner's zsh-theme.
1 parent dcab0cd commit ae1cbd9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

themes/gebner.zsh-theme

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# vim:ft=zsh:
2+
3+
if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
4+
5+
local return_code="%(?..%{$fg[red]%}↵ %? %{$reset_color%})"
6+
7+
PROMPT='%m %{${fg_bold[blue]}%}:: %{$reset_color%}%{${fg[green]}%}%3~ $(git_prompt_info)'"${return_code}"'%{${fg_bold[$CARETCOLOR]}%}»%{${reset_color}%} '
8+
9+
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
10+
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"

0 commit comments

Comments
 (0)