summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorMayu Laierlence <minacle@live.com>2024-06-12 12:28:13 +0200
committerMarc Cornellà <marc@mcornella.com>2024-06-12 12:30:03 +0200
commit6754b7e67b71511c8c06b75be6d4d06a386acbda (patch)
tree8dcace34e60aeaeb019d9b3b3bb669bd5f218f85 /oh-my-zsh.sh
parentfee61a7c4731a1835dfc13f4e6ddc8482d5f1d01 (diff)
downloadzsh-6754b7e67b71511c8c06b75be6d4d06a386acbda.tar.gz
zsh-6754b7e67b71511c8c06b75be6d4d06a386acbda.tar.bz2
zsh-6754b7e67b71511c8c06b75be6d4d06a386acbda.zip
feat(init): add custom functions and completions to `$fpath` (#5644)
Closes #5644 Co-authored-by: Marc Cornellà <marc@mcornella.com>
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index 2fb20298a..9660f93c9 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -71,7 +71,7 @@ source "$ZSH/tools/check_for_upgrade.sh"
# Initializes Oh My Zsh
# add a function path
-fpath=("$ZSH/functions" "$ZSH/completions" $fpath)
+fpath=($ZSH/{functions,completions} $ZSH_CUSTOM/{functions,completions} $fpath)
# Load all stock functions (from $fpath files) called below.
autoload -U compaudit compinit zrecompile