remove abs path to git in zsh plugins

This commit is contained in:
thek4n 2026-08-12 18:40:40 +03:00
parent 3bec9a1d82
commit fbe5990908

View File

@ -1,11 +1,9 @@
# vim ft=zsh
install_if_not_exists() {
local path="${HOME}/.config/zsh/plugins/${1}"
if [ ! -d "${path}" ]; then
/usr/bin/git clone "https://github.com/${1}" "${path}"
git clone "https://github.com/${1}" "${path}"
fi
}