mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Move zgenom to the bottom (plugins should load last)
This commit is contained in:
parent
bd5ef1bef4
commit
475d163269
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue