1
0
Fork 0

Ensure that ${fpath} has no duplicate entries

This commit is contained in:
tastytea 2022-04-27 23:21:07 +02:00
parent df1e72d517
commit fb10f2bc55
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 0 deletions

View File

@ -1,2 +1,3 @@
[[ -d "${ZDOTDIR}"/functions ]] && fpath+=( "${ZDOTDIR}"/functions )
[[ -d "${ZDOTDIR}"/completions ]] && fpath+=( "${ZDOTDIR}"/completions )
fpath=(${(u)fpath})