Updated the PROMT.

This commit is contained in:
Daniel Karlsson 2010-12-03 15:58:18 +01:00
parent 77035debe7
commit 2b5d7e75f1

View file

@ -1,11 +1,11 @@
# Comment
# Simple theme based on my old zsh settings.
function get_host {
echo '@'`hostname`''
}
RPROMPT='%~$(git_prompt_info)$(get_host)'
export PS1='> '
PROMPT='> '
RPROMPT='%~$(git_prompt_info)$(get_host)'
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX="("