From fb10f2bc55a71dc4893fc7d4daf0b3ba588bf5db Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 27 Apr 2022 23:21:07 +0200 Subject: [PATCH] Ensure that ${fpath} has no duplicate entries --- .config/zsh/.zshenv | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 3477d51..588d860 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -1,2 +1,3 @@ [[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions ) [[ -d "${ZDOTDIR}"/completions ]] && fpath+=( "${ZDOTDIR}"/completions ) +fpath=(${(u)fpath})