mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07: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:
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
|
||||
|
@ -16,4 +16,3 @@ if [[ -n "$terminfo[kcud1]" ]]; then
|
||||
bindkey -M emacs "$terminfo[kcud1]" history-substring-search-down
|
||||
bindkey -M viins "$terminfo[kcud1]" history-substring-search-down
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user