Add hostname to zsh prompt

This commit is contained in:
Andreas Tsouchlos 2024-06-06 01:22:27 +02:00
parent 3ee58eb2e2
commit b6a2fa03c3

View File

@ -20,7 +20,7 @@ autoload -Uz vcs_info
precmd() { vcs_info } precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b ' zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST 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 source /usr/share/fzf/key-bindings.zsh