mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40: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 {
|
||||
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="("
|
||||
|
|
Loading…
Reference in a new issue