1
0
Fork 0

more flexible zshrc

This commit is contained in:
Maurice Audin 2024-12-10 14:35:21 +01:00
parent 2ec1534e42
commit 26defaa2db

8
zshrc
View file

@ -6,13 +6,13 @@ 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
zgen load ${zsh_config_repo} ${USER}.zsh ${USER}
# Plugins
zgen load ${zsh_config_repo} ${USER}.plugins main
zgen load ${zsh_config_repo} ${USER}.plugins ${USER}
# Theme
zgen load ${zsh_config_repo} ${USER}.theme main
zgen load ${zsh_config_repo} ${USER}.theme ${USER}
# Completions
zgen load ${zsh_config_repo} ${USER}.completions main
zgen load ${zsh_config_repo} ${USER}.completions ${USER}
# generate the init script from plugins above
zgen save