1
0

Update .zshrc

This commit is contained in:
2025-10-09 09:57:20 +02:00
parent 23e876558d
commit 000bd80364

View File

@@ -33,6 +33,8 @@ WORDCHARS=${WORDCHARS//[\/]}
# Zoxide configuration # Zoxide configuration
ZOXIDE_CMD_OVERRIDE=cd ZOXIDE_CMD_OVERRIDE=cd
# -------------------- # --------------------
# Module configuration # Module configuration
# -------------------- # --------------------
@@ -64,6 +66,8 @@ ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
#typeset -A ZSH_HIGHLIGHT_STYLES #typeset -A ZSH_HIGHLIGHT_STYLES
#ZSH_HIGHLIGHT_STYLES[comment]='fg=10' #ZSH_HIGHLIGHT_STYLES[comment]='fg=10'
# ------------------ # ------------------
# Initialize modules # Initialize modules
# ------------------ # ------------------
@@ -76,6 +80,8 @@ source ${ZIM_HOME}/init.zsh
autoload -Uz compinit && compinit -C autoload -Uz compinit && compinit -C
# ------------------------------ # ------------------------------
# Post-init module configuration # Post-init module configuration
# ------------------------------ # ------------------------------
@@ -162,17 +168,17 @@ if [ -z "$TMUX" ]; then
ssh-add 2>/dev/null ssh-add 2>/dev/null
# start tmux # start tmux
# # #
# passwordstore # # passwordstore
# # #
if [[ $(curl -s -w "%{http_code}\n" -L "https://git.jefflance.me/" -o /dev/null) = "200" ]]; then # if [[ $(curl -s -w "%{http_code}\n" -L "https://git.jefflance.me/" -o /dev/null) = "200" ]]; then
echo -ne "\npasswordstore: " && pass git pull # echo -ne "\npasswordstore: " && pass git pull
else # else
echo -ne "\npasswordstore: serveur hors ligne" # echo -ne "\npasswordstore: serveur hors ligne"
fi # fi
tmux attach # tmux attach
fi # fi
fi # fi