Updated the PROMT.
This commit is contained in:
parent
77035debe7
commit
2b5d7e75f1
@ -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="("
|
||||||
|
Reference in New Issue
Block a user