Improve navi #1

Open
vulporuza wants to merge 15 commits from improve-navi into master
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 91d281c2ce - Show all commits
+1
View File
@@ -70,6 +70,7 @@ ZSH_THEME="vulporuza"
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=( plugins=(
gitfast gitfast
virtualenv
zsh-syntax-highlighting zsh-syntax-highlighting
zsh-autosuggestions zsh-autosuggestions
# zsh-history-substring-search # zsh-history-substring-search
+6 -2
View File
@@ -6,17 +6,21 @@ typeset my_gray="$FG[240]"
if [ -z "${__GIT_PROMPT_DIR}" ]; then if [ -z "${__GIT_PROMPT_DIR}" ]; then
PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%} PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%}
╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_prompt_info) ╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_prompt_info)
╰ %(!.#.») ' $(virtualenv_prompt_info) %(!.#.») '
else else
PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%} PS1='$my_gray${(r:$COLUMNS::-:)}%{$reset_color%}
╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_super_status) ╭ %T %{$FG[208]%}%~%{$reset_color%}$(git_super_status)
╰ %(!.#.») ' $(virtualenv_prompt_info) %(!.#.») '
fi fi
PS2='%{$fg[red]%}\ %{$reset_color%}' PS2='%{$fg[red]%}\ %{$reset_color%}'
# Right prompt # Right prompt
RPS1='%(?..%{$fg[red]%}%? ↵%{$reset_color%}) $FG[245]%n@%m%{$reset_color%}' RPS1='%(?..%{$fg[red]%}%? ↵%{$reset_color%}) $FG[245]%n@%m%{$reset_color%}'
# Virtualenv (plugin virtualenv)
ZSH_THEME_VIRTUALENV_PREFIX=" %{$FG[075]%}("
ZSH_THEME_VIRTUALENV_SUFFIX=")%{$reset_color%}"
# Git theme # Git theme
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$reset_color%}[" ZSH_THEME_GIT_PROMPT_PREFIX=" %{$reset_color%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}]" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}]"