remove abs path to git in zsh plugins
This commit is contained in:
parent
3bec9a1d82
commit
fbe5990908
@ -1,11 +1,9 @@
|
|||||||
|
|
||||||
# vim ft=zsh
|
# vim ft=zsh
|
||||||
|
|
||||||
|
|
||||||
install_if_not_exists() {
|
install_if_not_exists() {
|
||||||
local path="${HOME}/.config/zsh/plugins/${1}"
|
local path="${HOME}/.config/zsh/plugins/${1}"
|
||||||
if [ ! -d "${path}" ]; then
|
if [ ! -d "${path}" ]; then
|
||||||
/usr/bin/git clone "https://github.com/${1}" "${path}"
|
git clone "https://github.com/${1}" "${path}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user