aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vim_plugins.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xvim_plugins.sh6
1 files changed, 3 insertions, 3 deletions
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