This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/themes/kardan.zsh-theme
2010-12-03 15:51:34 +01:00

12 lines
244 B
Bash

# Comment
function get_host {
echo '@'`hostname`''
}
RPROMPT='%~$(git_prompt_info)$(get_host)'
export PS1='> '
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"