mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
feat(init): add custom functions and completions to $fpath (#5644)
Closes #5644 Co-authored-by: Marc Cornellà <marc@mcornella.com>
This commit is contained in:
committed by
Marc Cornellà
parent
fee61a7c47
commit
6754b7e67b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user