Improve navi #1
+4
-2
@@ -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%}'
|
||||
|
||||
Reference in New Issue
Block a user