This commit is contained in:
thek4n 2024-09-12 20:31:06 +03:00
parent dbe321a9fc
commit 26729882cb

View File

@ -3,6 +3,7 @@ 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" git clone "https://github.com/$1" "$path"