From 475d1632692b6d9eda62cc9e20e6367d7ca90f0c Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sat, 11 Feb 2023 18:53:27 +0100 Subject: [PATCH] Move zgenom to the bottom (plugins should load last) --- home/.config/zsh/.zshrc | 43 +++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index ee86d1a..7d6ea84 100755 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -1,26 +1,5 @@ #!/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 # ######################### @@ -128,3 +107,25 @@ mkdir -p "$ZSH_CACHE" if command -v pyenv >/dev/null 2>&1; then eval "$(pyenv init -)" 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 +