]> git.rmz.io Git - dotfiles.git/commitdiff
fix my theme
authorSamir Benmendil <ram-z@chakra-project.org>
Mon, 3 Dec 2012 06:30:04 +0000 (07:30 +0100)
committerSamir Benmendil <ram-z@chakra-project.org>
Mon, 3 Dec 2012 06:30:04 +0000 (07:30 +0100)
zsh/custom/ramsi.zsh-theme

index 857349f79c078a5f54d5808787cfcfc1b93917b0..e0d852f794005a280f765aee531a3328eed409cc 100644 (file)
@@ -1,4 +1,9 @@
 [[ $(hostname) == "tardis" ]] && hostcolor=red
 [[ $(hostname) == "shada" ]]  && hostcolor=green
-PROMPT="%(?..%{$fg_bold[white]%}[%?])%{$reset_color%}[%D{%k:%M} %n@%{$fg[$hostcolor]%}%m%{$reset_color%}]%# "
-RPROMPT="%{$fg[green]%}%~%{$reset_color%}"
+PROMPT='%(?..%{$fg_bold[white]%}[%?])%{$reset_color%}[%D{%k:%M} %n@%{$fg[$hostcolor]%}%m%{$reset_color%}$(git_prompt_info)]%# '
+RPROMPT='%{$fg[green]%}%~%{$reset_color%}'
+
+ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[yellow]%}<"
+ZSH_THEME_GIT_PROMPT_SUFFIX=">%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DIRTY="*"
+ZSH_THEME_GIT_PROMPT_CLEAN=""