zsh/.zsh/login/fpath

6 lines
147 B
Text
Raw Normal View History

#! zsh
fpath=(~/.zsh/functions $fpath)
# filter out duplicates, nonexistent directories, and . (the current directory)
fpath=(${(u)^fpath:#.}(N))