Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
779ff24c
Commit
779ff24c
authored
Mar 21, 2019
by
SomeDer
Committed by
Marc Cornellà
Mar 21, 2019
Browse files
init: notify user if plugin isn't found (#7679)
parent
9509fd6a
Changes
1
Show whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
779ff24c
...
@@ -83,6 +83,8 @@ for plugin ($plugins); do
...
@@ -83,6 +83,8 @@ for plugin ($plugins); do
source
$ZSH_CUSTOM
/plugins/
$plugin
/
$plugin
.plugin.zsh
source
$ZSH_CUSTOM
/plugins/
$plugin
/
$plugin
.plugin.zsh
elif
[
-f
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
]
;
then
elif
[
-f
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
]
;
then
source
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
source
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
else
echo
"Warning: plugin
$plugin
not found"
fi
fi
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment