remove ignore file to add submodule
[dotfiles.git] / zsh / plugins / git_install.pl
index 3b63e0f..6d9d56e 100755 (executable)
@@ -1,17 +1,23 @@
 #!/usr/bin/perl -w
 #
-my $filename = "git_lists";
+#
+my @git_lists = qw {
+    git://github.com/zsh-users/zsh-syntax-highlighting.git
+};
+#my $filename = "git_lists";
 
-my %hash=();
+print $git_lists[0];
 
-open FILE, "$filename";
-while (<FILE>){
-       chomp;
-       my ($name, $url) = split;
-       $hash{$name} = $url;
-}
-close FILE;
+`git clone $_` foreach @git_lists;
 
-foreach (values %hash) {
-       system "git clone " . $_;
-}
+##open FILE, "$filename";
+##while (<FILE>){
+##     chomp;
+##     my ($name, $url) = split;
+##     $hash{$name} = $url;
+##}
+##close FILE;
+##
+##foreach (values %hash) {
+##     system "git clone " . $_;
+##}