Improve navi #1

Open
vulporuza wants to merge 15 commits from improve-navi into master
Showing only changes of commit b348ce9b35 - Show all commits
+4 -2
View File
@@ -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%}'