It is probably better to prepend ranther than append
This commit is contained in:
parent
f448c6663e
commit
2f9b8437e2
2
init.zsh
2
init.zsh
@ -27,7 +27,7 @@ load_zim_function() {
|
|||||||
local mod_function
|
local mod_function
|
||||||
|
|
||||||
# autoload searches fpath for function locations; add enabled module function paths
|
# autoload searches fpath for function locations; add enabled module function paths
|
||||||
fpath+=(${argv:+${ZIM}/modules/${^zmodules}/functions(/FN)})
|
fpath=(${argv:+${ZIM}/modules/${^zmodules}/functions(/FN)} ${fpath})
|
||||||
|
|
||||||
function {
|
function {
|
||||||
setopt LOCAL_OPTIONS EXTENDED_GLOB
|
setopt LOCAL_OPTIONS EXTENDED_GLOB
|
||||||
|
@ -13,7 +13,7 @@ if [[ ${TERM} == 'dumb' ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# add the completions to the fpath
|
# add the completions to the fpath
|
||||||
fpath+=(${0:h}/external/src)
|
fpath=(${0:h}/external/src ${fpath})
|
||||||
|
|
||||||
# load and initialize the completion system
|
# load and initialize the completion system
|
||||||
autoload -Uz compinit && compinit -C -d ${ZDOTDIR:-$HOME}/.zcompdump
|
autoload -Uz compinit && compinit -C -d ${ZDOTDIR:-$HOME}/.zcompdump
|
||||||
|
Reference in New Issue
Block a user