19 lines
464 B
Bash
19 lines
464 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
|
|
# Plugins
|
|
zgen load ${zsh_config_repo} ${USER}.plugins
|
|
# Theme
|
|
zgen load ${zsh_config_repo} ${USER}.theme
|
|
# Completions
|
|
zgen load ${zsh_config_repo} ${USER}.completions
|
|
|
|
# generate the init script from plugins above
|
|
zgen save
|
|
fi
|