From 27168236860a532084588c2ae4dd1877c8a1c68f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 25 Jul 2023 22:28:09 +0200 Subject: setup.sh: call vim_plugins.sh --- vim_plugins.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vim_plugins.sh') diff --git a/vim_plugins.sh b/vim_plugins.sh index 189cb7a..3801b74 100755 --- a/vim_plugins.sh +++ b/vim_plugins.sh @@ -15,14 +15,14 @@ plugins=( pull() { local plugin for plugin in ${plugins[@]+"${plugins[@]}"}; do - echo "Plugin: $plugin" - local name name="${plugin#*/}" if [ -d "$name" ]; then - git -C "$name" pull -q + echo "Updating plugin: $plugin" + git -C "$name" pull else + echo "Installing plugin: $plugin" git clone -q "https://github.com/$plugin.git" fi done -- cgit v1.2.3