19 lines
484 B
Bash
19 lines
484 B
Bash
# Load zgen
|
|
source "${HOME}/.zgen/zgen.zsh"
|
|
|
|
zsh_config_repo=https://forgejo.audin.me/maudin/zsh
|
|
|
|
# Plugins and configuration generator
|
|
if ! zgen saved; then
|
|
# Configuration
|
|
zgen load ${zsh_config_repo} ${USER}.zsh main
|
|
# Plugins
|
|
zgen load ${zsh_config_repo} ${USER}.plugins main
|
|
# Theme
|
|
zgen load ${zsh_config_repo} ${USER}.theme main
|
|
# Completions
|
|
zgen load ${zsh_config_repo} ${USER}.completions main
|
|
|
|
# generate the init script from plugins above
|
|
zgen save
|
|
fi
|