mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 01:17:59 +00:00
94ab5e0ec8
Conflicts: oh-my-zsh.sh
13 lines
274 B
Bash
13 lines
274 B
Bash
# Simple theme based on my old zsh settings.
|
|
|
|
function get_host {
|
|
echo '@'`hostname`''
|
|
}
|
|
|
|
PROMPT='> '
|
|
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|