From 13bd13d2f14dd4730731a2d5bef58400d4a2af6a Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 13 Aug 2026 00:05:43 +0300 Subject: [PATCH] fix zsh plugin --- configs/.config/zsh/plugin | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configs/.config/zsh/plugin b/configs/.config/zsh/plugin index 15b9954..436ba02 100644 --- a/configs/.config/zsh/plugin +++ b/configs/.config/zsh/plugin @@ -3,10 +3,9 @@ install_if_not_exists() { - echo $PATH - local path="${HOME}/.config/zsh/plugins/${1}" - if [ ! -d "${path}" ]; then - git clone "https://github.com/${1}" "${path}" + local dir="${HOME}/.config/zsh/plugins/${1}" + if [ ! -d "${dir}" ]; then + /usr/bin/env git clone "https://github.com/${1}" "${dir}" fi }