1
0
Fork 0

zsh: first prompt latency

This commit is contained in:
Luca Bilke 2024-10-16 16:20:56 +02:00
parent d5fc956748
commit faf5bc4ce4
3 changed files with 11 additions and 2 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "common/.config/zsh/plugins/fzf-tab"]
path = common/.config/zsh/plugins/fzf-tab
url = https://github.com/Aloxaf/fzf-tab
[submodule "common/.config/zsh/plugins/zsh-defer"]
path = common/.config/zsh/plugins/zsh-defer
url = https://github.com/romkatv/zsh-defer

View File

@ -1,12 +1,17 @@
#!/bin/zsh
source "$ZDOTDIR"/plugins/zsh-defer/zsh-defer.plugin.zsh
for f in "$ZDOTDIR"/configs/*; do
source "$f"
done
for f in \
"$ZDOTDIR"/configs/* \
"$ZDOTDIR"/plugins/*/*.plugin.zsh \
/usr/share/zsh/plugins/*/*.plugin.zsh \
/usr/share/fzf/*.zsh
do
source $f
[ "$f" != "${ZDOTDIR}/plugins/zsh-defer.plugin.zsh" ] && zsh-defer source $f
done
export GPG_TTY="$(tty)"

@ -0,0 +1 @@
Subproject commit 53a26e287fbbe2dcebb3aa1801546c6de32416fa