fix zsh plugin
This commit is contained in:
parent
e7c60b1ab9
commit
13bd13d2f1
@ -3,10 +3,9 @@
|
|||||||
|
|
||||||
|
|
||||||
install_if_not_exists() {
|
install_if_not_exists() {
|
||||||
echo $PATH
|
local dir="${HOME}/.config/zsh/plugins/${1}"
|
||||||
local path="${HOME}/.config/zsh/plugins/${1}"
|
if [ ! -d "${dir}" ]; then
|
||||||
if [ ! -d "${path}" ]; then
|
/usr/bin/env git clone "https://github.com/${1}" "${dir}"
|
||||||
git clone "https://github.com/${1}" "${path}"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user