fix: enable completion for profile
This commit is contained in:
parent
aa545a004e
commit
b95398d1a3
@ -1,18 +1,18 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
|
autoload -U +X compinit && compinit
|
||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
|
configure
|
||||||
|
|
||||||
local wkdir="${BASE_ZSH_CONFIG_DIR}/config/profile"
|
local wkdir="${BASE_ZSH_CONFIG_DIR}/config/profile"
|
||||||
source "${wkdir}/profile/options.zsh"
|
source "${wkdir}/profile/options.zsh"
|
||||||
source "${wkdir}/profile/env.zsh"
|
source "${wkdir}/profile/env.zsh"
|
||||||
source "${wkdir}/profile/functions.zsh"
|
source "${wkdir}/profile/functions.zsh"
|
||||||
source "${wkdir}/profile/aliases.zsh"
|
source "${wkdir}/profile/aliases.zsh"
|
||||||
|
|
||||||
configure
|
|
||||||
}
|
}
|
||||||
|
|
||||||
init
|
init
|
||||||
|
Loading…
Reference in New Issue
Block a user