aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/vimbundle
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2019-10-02 14:57:54 +0200
committerPatrick Spek <p.spek@tyil.nl>2019-10-02 14:57:54 +0200
commite9301b2f9bee3d9bb6354fe58578654fd21ff548 (patch)
treeac633cfec1845052125bbc95061b5536fa4a88ca /.local/bin/vimbundle
parenteac0f1c0d14a9c3ac33cefb8eed82fe6f6ea9849 (diff)
Redo vimbundle into gittab
Diffstat (limited to '.local/bin/vimbundle')
-rwxr-xr-x.local/bin/vimbundle23
1 files changed, 0 insertions, 23 deletions
diff --git a/.local/bin/vimbundle b/.local/bin/vimbundle
deleted file mode 100755
index 27406fe..0000000
--- a/.local/bin/vimbundle
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /usr/bin/env perl6
-
-#| Update installed bundles for vim.
-sub MAIN ()
-{
- my $bundletab = $*HOME.add(".vim/bundletab");
- my $bundledir = $*HOME.add(".vim/bundle");
-
- die "No bundletab!" unless $bundletab.e;
-
- for $bundletab.lines.grep(!*.starts-with("#")) {
- my ($name, $repo, $branch) = $_.words;
-
- if (!$bundledir.add($name).d) {
- chdir $bundledir;
- run « git clone --single-branch --branch "$branch" --depth 1 "$repo" "$name" »;
- }
-
- chdir $bundledir.add($name);
- run « git switch "$branch" »;
- run « git pull origin "$branch" »;
- }
-}