From: Simon Ruderich Date: Tue, 31 Mar 2009 15:31:56 +0000 (+0200) Subject: zsh: Make sure entries in $fpath are unique. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;ds=sidebyside;h=f3e6d64626a67c78f0a8bf401fe7478011a541a4;p=config%2Fdotfiles.git zsh: Make sure entries in $fpath are unique. --- diff --git a/zsh/rc b/zsh/rc index 26271b3..0370fb0 100644 --- a/zsh/rc +++ b/zsh/rc @@ -32,6 +32,8 @@ setopt ignoreeof # FUNCTION SETTINGS +# Make sure every entry in $fpath is unique. +typeset -U fpath # Set correct fpath to allow loading my functions (including completion # functions). fpath=(~/.zsh/functions $fpath)