This commit is contained in:
Marco Thomas
2023-06-01 08:19:11 +02:00
parent 3d0d95a4bb
commit 1e9785e8e2
6 changed files with 15 additions and 9 deletions

View File

@@ -13,8 +13,9 @@ ICON="%(?.%{$fg[green]%}.%{$fg[red]%})λ>"
DIR="%{$fg[blue]%}%~"
GIT="%{$fg[red]%}\$vcs_info_msg_0_"
HOSTN="%{$fg[yellow]%}%m "
NEWLINE=$'\n'
export PROMPT="${HOSTN}${DIR}${GIT} ${BREAK}${ICON}%{$reset_color%} "
export PROMPT="${HOSTN}${DIR}${GIT} ${BREAK}${NEWLINE}${ICON}%{$reset_color%} "
zstyle ':vcs_info:git:*' formats ' (%b )'
# show info in title bar