mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
e8504ac49a
that only change the foreground color. %F works at least since Zsh 4.3.
12 lines
248 B
Bash
12 lines
248 B
Bash
# Simple theme based on my old zsh settings.
|
|
|
|
function get_host {
|
|
echo '@'$HOST
|
|
}
|
|
|
|
PROMPT='> '
|
|
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%F{yellow}✗%f"
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|