1
0
Fork 0

zsh: change config load order to fix rprompt

This commit is contained in:
Luca Bilke 2024-10-22 12:52:13 +02:00
parent 8facd1beee
commit bb575651ef
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
1 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,6 @@
source "$ZDOTDIR"/plugins/zsh-defer/zsh-defer.plugin.zsh source "$ZDOTDIR"/plugins/zsh-defer/zsh-defer.plugin.zsh
for f in "$ZDOTDIR"/configs/*; do
source "$f"
done
for f in \ for f in \
"$ZDOTDIR"/plugins/*/*.plugin.zsh \ "$ZDOTDIR"/plugins/*/*.plugin.zsh \
/usr/share/zsh/plugins/*/*.plugin.zsh \ /usr/share/zsh/plugins/*/*.plugin.zsh \
@ -14,5 +10,9 @@ do
[ "$f" != "${ZDOTDIR}/plugins/zsh-defer.plugin.zsh" ] && zsh-defer source $f [ "$f" != "${ZDOTDIR}/plugins/zsh-defer.plugin.zsh" ] && zsh-defer source $f
done done
for f in "$ZDOTDIR"/configs/*; do
source "$f"
done
export GPG_TTY="$(tty)" export GPG_TTY="$(tty)"
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1 gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1