It is probably better to prepend ranther than append

This commit is contained in:
Matt Hamilton 2015-12-16 14:56:54 -05:00
parent f448c6663e
commit 2f9b8437e2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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