mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fixed the for loop
This commit is contained in:
parent
c214d08b1b
commit
e50b14bd3a
1 changed files with 2 additions and 1 deletions
3
omz
3
omz
|
|
@ -35,9 +35,10 @@ omz() {
|
|||
# fi
|
||||
# fi
|
||||
|
||||
for plugin ($plugins)
|
||||
for plugin ($plugins); do
|
||||
[[ -d $OMZ/plugins/$plugin ]] && fpath=($OMZ/plugins/$plugin $fpath) && continue || \
|
||||
[[ -d $ZSH/plugins/$plugin ]] && fpath=($ZSH/plugins/$plugin $fpath) || omz_log_msg "$plugin not found."
|
||||
done
|
||||
|
||||
# Load and run compinit
|
||||
autoload -U compinit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue