fix: enable completion for profile

This commit is contained in:
Price Hiller 2022-07-31 03:01:09 -05:00
parent aa545a004e
commit b95398d1a3

View File

@ -1,18 +1,18 @@
#!/usr/bin/env zsh
configure() {
autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && compinit
}
init() {
configure
local wkdir="${BASE_ZSH_CONFIG_DIR}/config/profile"
source "${wkdir}/profile/options.zsh"
source "${wkdir}/profile/env.zsh"
source "${wkdir}/profile/functions.zsh"
source "${wkdir}/profile/aliases.zsh"
configure
}
init