theme: Add line break in PS1
This commit is contained in:
+4
-2
@@ -4,10 +4,12 @@ typeset my_gray="$FG[240]"
|
|||||||
|
|
||||||
# Primary prompt
|
# Primary prompt
|
||||||
if [ -z "${__GIT_PROMPT_DIR}" ]; then
|
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
|
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
|
fi
|
||||||
PS2='%{$fg[red]%}\ %{$reset_color%}'
|
PS2='%{$fg[red]%}\ %{$reset_color%}'
|
||||||
|
|||||||
Reference in New Issue
Block a user