Move zgenom to the bottom (plugins should load last)

This commit is contained in:
ItsDrike 2023-02-11 18:53:27 +01:00
parent bd5ef1bef4
commit 475d163269
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -1,26 +1,5 @@
#!/usr/bin/zsh #!/usr/bin/zsh
#########################
# Zgenom Plugin Manager #
#########################
# Load zgenom (plugin manager for ZSH)
source "${ZDOTDIR}/.zgenom/zgenom.zsh"
# Check for zgenom updates
# This does not increase startup time
zgenom autoupdate
# If the init script doesn't exist yet
if ! zgenom saved; then
zgenom load zdharma-continuum/fast-syntax-highlighting
zgenom load zsh-users/zsh-autosuggestions
zgenom load skywind3000/z.lua
# Generate the init script from plugins above
zgenom save
fi
######################### #########################
# History Configuration # # History Configuration #
######################### #########################
@ -128,3 +107,25 @@ mkdir -p "$ZSH_CACHE"
if command -v pyenv >/dev/null 2>&1; then if command -v pyenv >/dev/null 2>&1; then
eval "$(pyenv init -)" eval "$(pyenv init -)"
fi fi
#########################
# Zgenom Plugin Manager #
#########################
# Load zgenom (plugin manager for ZSH)
source "${ZDOTDIR}/.zgenom/zgenom.zsh"
# Check for zgenom updates
# This does not increase startup time
zgenom autoupdate
# If the init script doesn't exist yet
if ! zgenom saved; then
zgenom load skywind3000/z.lua
zgenom load akash329d/zsh-alias-finder
zgenom load zdharma-continuum/fast-syntax-highlighting
# Generate the init script from plugins above
zgenom save
fi