Browse Source

[zsh] Update configuration according to latest spaceship changes

Emmanuel Bouthenot 1 year ago
parent
commit
d84a12cd1f
2 changed files with 3 additions and 2 deletions
  1. 2 1
      .zsh/config/60_spaceship.zsh
  2. 1 1
      .zshrc

+ 2 - 1
.zsh/config/60_spaceship.zsh

@@ -27,6 +27,7 @@ SPACESHIP_PROMPT_ORDER=(
   host          # Hostname section
 # git           # Git section (git_branch + git_status)
 # hg            # Mercurial section (hg_branch  + hg_status)
+  ansible       # Ansible section
   package       # Package version
 # gradle        # Gradle section
 # maven         # Maven section
@@ -45,7 +46,7 @@ SPACESHIP_PROMPT_ORDER=(
 # gcloud        # Google Cloud Platform section
   venv          # virtualenv section
 # conda         # conda virtualenv section
-  pyenv         # Pyenv section
+  python        # Python section
 # dotnet        # .NET section
 # ember         # Ember.js section
 # kubectl       # Kubectl context section

+ 1 - 1
.zshrc

@@ -25,7 +25,7 @@ zcomet load sorin-ionescu/prezto modules/completion
 zcomet load zsh-users/zsh-syntax-highlighting
 zcomet load zsh-users/zsh-history-substring-search
 zcomet load zsh-users/zsh-autosuggestions
-zcomet load spaceship-prompt/spaceship-prompt
+zcomet load spaceship-prompt/spaceship-prompt spaceship.zsh
 
 if [[ -d "${ZSHDOTDIR}/config" ]]; then
     zcomet load "${ZSHDOTDIR}"