From: Samir Benmendil Date: Mon, 3 Dec 2012 06:30:04 +0000 (+0100) Subject: fix my theme X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/1f9e073f313e374180ab76319b8c3fa96f10d52a fix my theme --- diff --git a/zsh/custom/ramsi.zsh-theme b/zsh/custom/ramsi.zsh-theme index 857349f..e0d852f 100644 --- a/zsh/custom/ramsi.zsh-theme +++ b/zsh/custom/ramsi.zsh-theme @@ -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=""