mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Updated the PROMT.
This commit is contained in:
1 parent
0e2d289fff
commit
17c6c03760
1 file changed
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
# Comment
|
# Simple theme based on my old zsh settings.
|
||||||
|
|
||||||
function get_host {
|
function get_host {
|
||||||
echo '@'`hostname`''
|
echo '@'`hostname`''
|
||||||
}
|
}
|
||||||
|
|
||||||
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
PROMPT='> '
|
||||||
export PS1='> '
|
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
||||||
|
|
||||||
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