summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-02 18:58:29 +0200
committerKyren223 <Kyren223@proton.me>2024-11-02 18:58:29 +0200
commit93c71cb27e6969e9cf88e863b27d27d01d5d24fd (patch)
tree9eac720822ffd4f3841395247ff685e52c1c4e79
parent38121b3dc8dd8240ced91d9a675298291c6e9cff (diff)
Shell integrations also load normally (but also ZVM to re-define the
keymaps)
-rw-r--r--.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index 60eafd5..85af6d5 100644
--- a/.zshrc
+++ b/.zshrc
@@ -49,7 +49,9 @@ eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/tokyocat.omp.yml)"
# zinit load zdharma-continuum/null
# # Shell integrations
-zvm_after_init_commands+=('source <(fzf --zsh)')
+zinit ice wait lucid atload'source <(fzf --zsh)' && zinit load zdharma-continuum/null
+zvm_after_init_commands+=('[ -f ~/.fzf.zsh ] && source <(fzf --zsh)')
+zinit ice wait lucid atload'eval "$(zoxide init --cmd cd zsh)"' && zinit load zdharma-continuum/null
zvm_after_init_commands+=('eval "$(zoxide init --cmd cd zsh)"')
# # Fat cursor
@@ -113,4 +115,4 @@ if [ -z "$TMUX" ]; then
fi
END_TIME=$(date +%s.%3N)
-# echo "Zsh startup time: $(echo "${END_TIME} - ${START_TIME}" | bc) seconds"
+echo "Zsh startup time: $(echo "${END_TIME} - ${START_TIME}" | bc) seconds"