mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:43:14 +08:00
parent
530056d50d
commit
a04728f168
|
@ -32,8 +32,8 @@ fi
|
|||
is_plugin() {
|
||||
local base_dir=$1
|
||||
local name=$2
|
||||
test -f $base_dir/plugins/$name/$name.plugin.zsh \
|
||||
|| test -f $base_dir/plugins/$name/_$name
|
||||
builtin test -f $base_dir/plugins/$name/$name.plugin.zsh \
|
||||
|| builtin test -f $base_dir/plugins/$name/_$name
|
||||
}
|
||||
|
||||
# Add all defined plugins to fpath. This must be done
|
||||
|
|
Loading…
Reference in New Issue
Block a user