21 lines
552 B
Bash
21 lines
552 B
Bash
# Load zgen
|
|
source "${HOME}/.zgen/zgen.zsh"
|
|
|
|
# Required for compdef calls to work
|
|
autoload -Uz compinit && \
|
|
compinit -C
|
|
|
|
# Plugins and configuration generator
|
|
if ! zgen saved; then
|
|
# Configuration
|
|
zgen load https://gitea.audin.me/hybris/zsh ${USER}.zsh
|
|
# Plugins
|
|
zgen load https://gitea.audin.me/hybris/zsh ${USER}.plugins
|
|
# Theme
|
|
zgen load https://gitea.audin.me/hybris/zsh ${USER}.theme
|
|
# Completions
|
|
zgen load https://gitea.audin.me/hybris/zsh ${USER}.completions
|
|
|
|
# generate the init script from plugins above
|
|
zgen save
|
|
fi
|