mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
Updated the PROMT.
This commit is contained in:
parent
0e2d289fff
commit
17c6c03760
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Comment
|
# Simple theme based on my old zsh settings.
|
||||||
|
|
||||||
function get_host {
|
function get_host {
|
||||||
echo '@'`hostname`''
|
echo '@'`hostname`''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PROMPT='> '
|
||||||
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
||||||
export PS1='> '
|
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
||||||
|
|
Loading…
Reference in a new issue