# load my functions
typeset -U fpath # make fpath a unique array
-[[ -d ~/.zsh/functions ]] && fpath=(~/.zsh/functions $fpath)
+[[ -d $ZSH/functions ]] && fpath=($ZSH/functions $fpath)
autoload -U ${fpath[1]}/*(:t) # loads all functions in the first element of fpath
# initialise completion