X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=zsh%2Fplugins%2Fgit_install.pl;h=6d9d56e95314a165eed162639f3e0b6cb58aa96f;hb=386eb25ca5db2f5a42b4ec11e5b62d4db48475a2;hp=3b63e0f2907113f5eb00622a9587c793de673924;hpb=3ef87db37769cff1a6d40ff7988a6b5bb8ae923a;p=dotfiles.git diff --git a/zsh/plugins/git_install.pl b/zsh/plugins/git_install.pl index 3b63e0f..6d9d56e 100755 --- a/zsh/plugins/git_install.pl +++ b/zsh/plugins/git_install.pl @@ -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 (){ - 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 (){ +## chomp; +## my ($name, $url) = split; +## $hash{$name} = $url; +##} +##close FILE; +## +##foreach (values %hash) { +## system "git clone " . $_; +##}