mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Source functions in the order needed.
This commit is contained in:
parent
9f4b8793e7
commit
2e4a053c8c
3 changed files with 16 additions and 6 deletions
|
|
@ -11,10 +11,8 @@ fpath=($OMZ/themes/*(/) $OMZ/plugins/${^plugins} $OMZ/functions $fpath)
|
|||
# Load and initialize the completion system.
|
||||
autoload -Uz compinit && compinit -i
|
||||
|
||||
# Load all files in $OMZ/oh-my-zsh/lib/ that end in .zsh.
|
||||
for function_file in $OMZ/functions/*.zsh; do
|
||||
source "$function_file"
|
||||
done
|
||||
# Source function files.
|
||||
source "$OMZ/functions/init.zsh"
|
||||
|
||||
# Load all plugins defined in ~/.zshrc.
|
||||
for plugin in $plugins; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue