diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-25 22:28:09 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-25 22:28:09 +0200 |
commit | 27168236860a532084588c2ae4dd1877c8a1c68f (patch) | |
tree | 1ef56adf03322be6c03ef5d1a53d2852aeda0f4a | |
parent | update.sh -> setup.sh (diff) | |
download | linux-home-27168236860a532084588c2ae4dd1877c8a1c68f.tar.gz linux-home-27168236860a532084588c2ae4dd1877c8a1c68f.zip |
setup.sh: call vim_plugins.sh
-rwxr-xr-x | setup.sh | 1 | ||||
-rwxr-xr-x | vim_plugins.sh | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -53,6 +53,7 @@ links_update() { main() { config_links_in_path links_update + "$script_dir/vim_plugins.sh" } main 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 |