9 lines
139 B
Bash
9 lines
139 B
Bash
|
function add_custom_plugin()
|
||
|
{
|
||
|
if [ ! -d "$ZSH_CUSTOM/plugins/$2" ]; then
|
||
|
git clone "$1" "$ZSH_CUSTOM/plugins/$2"
|
||
|
fi
|
||
|
plugins+=($2)
|
||
|
}
|
||
|
|