zsh: add scprit for downloading zsh plugins
[dotfiles.git] / zsh / plugins / git_install.pl
diff --git a/zsh/plugins/git_install.pl b/zsh/plugins/git_install.pl
new file mode 100755 (executable)
index 0000000..3b63e0f
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/perl -w
+#
+my $filename = "git_lists";
+
+my %hash=();
+
+open FILE, "$filename";
+while (<FILE>){
+       chomp;
+       my ($name, $url) = split;
+       $hash{$name} = $url;
+}
+close FILE;
+
+foreach (values %hash) {
+       system "git clone " . $_;
+}