zsh/dot-config/zsh/login/fpath
2023-10-23 15:20:13 +11:00

8 lines
213 B
Bash

#! zsh
fpath=($ZDOTDIR/functions $fpath)
fpath=(${(u)^fpath:#.}(N))
# FPATH isn't exported by default like PATH is - to inherit the setting in
# non-login shells, we need to export it ourselves.
typeset -x FPATH