theme: Add line break in PS1

This commit is contained in:
2026-09-11 10:16:06 +02:00
parent b2b6d8b2ad
commit b348ce9b35
+4 -2
View File
@@ -4,10 +4,12 @@ typeset my_gray="$FG[240]"
# Primary prompt
if [ -z "${__GIT_PROMPT_DIR}" ]; then
PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%}╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_prompt_info)
PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%}
╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_prompt_info)
╰ %(!.#.») '
else
PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%}╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_super_status)
PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%}
╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_super_status)
╰ %(!.#.») '
fi
PS2='%{$fg[red]%}\ %{$reset_color%}'