refactor(install): changement dans la structure

This commit is contained in:
Anael Ginder
2026-09-18 15:40:28 +02:00
parent 064e1bcaa5
commit 83a78c098b
7 changed files with 184 additions and 92 deletions
+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/env zsh
#
# Spaceship ZSH
# CUSTOM
# Display Time
SPACESHIP_TIME_SHOW=true
SPACESHIP_TIME_PREFIX=""
# Display username always
SPACESHIP_USER_SHOW=always
SPACESHIP_USER_COLOR="green"
SPACESHIP_USER_PREFIX=""
SPACESHIP_USER_COLOR_ROOT="red"
#SPACESHIP_PROMPT_ADD_NEWLINE=true
SPACESHIP_PROMPT_SEPARATE_LINE=true
# Do not truncate path in repos
SPACESHIP_DIR_TRUNC_REPO=false
#Hide ansible prefix
SPACESHIP_ANSIBLE_SHOW=false
#Show hostname
SPACESHIP_HOST_SHOW="always"
SPACESHIP_HOST_COLOR="red"
if [ -z "$SPACESHIP_PROMPT_ORDER" ]; then
SPACESHIP_PROMPT_ORDER=(
time # Time stamps section
# host
user # Username section
dir # Current directory section
git # Git section (git_branch + git_status)
# battery # Battery level and status
jobs # Background jobs indicator
exit_code # Exit code section
sudo # Sudo indicator
char # Prompt character
)
fi
@@ -113,7 +113,10 @@ git-push-mr() {
#Export Perso
export SSH_AUTH_SOCK=/home/an.ginder/.keeper/anael.ginder@nameshield.net.ssh_agent
#source ~/.zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source "$HOME/.zsh/spaceship/spaceship.zsh"
# Configuration personnelle
source "$HOME/.zsh/spaceship.zsh"
# Spaceship
source "$HOME/.zsh/spaceship-prompt/spaceship.zsh-theme"
source /opt/keeper-cli-venv/bin/activate
#export PYTHONPATH=/opt/wapt
eval "$(zoxide init zsh)"