Add hostname to zsh prompt
This commit is contained in:
parent
3ee58eb2e2
commit
b6a2fa03c3
@ -20,7 +20,7 @@ autoload -Uz vcs_info
|
||||
precmd() { vcs_info }
|
||||
zstyle ':vcs_info:git:*' formats '%b '
|
||||
setopt PROMPT_SUBST
|
||||
PROMPT='%F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
|
||||
PROMPT='%F{magenta}[%m] %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
|
||||
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user