This commit is contained in:
thek4n 2024-09-12 20:32:18 +03:00
parent 26729882cb
commit a7cbd1112e

View File

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