mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Order is important here. Opps.
This commit is contained in:
parent
7161dcb2b4
commit
b84ff8f119
1 changed files with 4 additions and 4 deletions
|
|
@ -3,6 +3,10 @@ ZSH=${ZSH:-/usr/share/oh-my-zsh/}
|
|||
|
||||
local config_file plugin
|
||||
|
||||
# Load and run compinit
|
||||
autoload -U compinit
|
||||
compinit -i
|
||||
|
||||
# add a function path
|
||||
fpath=($ZSH/functions $ZSH/completions $fpath)
|
||||
for config_file ($ZSH/lib/*.zsh) source $config_file
|
||||
|
|
@ -22,10 +26,6 @@ if [[ -d ~/.omz ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Load and run compinit
|
||||
autoload -U compinit
|
||||
compinit -i
|
||||
|
||||
# Load the theme
|
||||
if [ "$ZSH_THEME" = "random" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue