X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=zsh%2Fplugins%2Fgit_install.pl;fp=zsh%2Fplugins%2Fgit_install.pl;h=6d9d56e95314a165eed162639f3e0b6cb58aa96f;hb=297bea5d2609e5a254bc1813ef4f1ee359737b52;hp=3b63e0f2907113f5eb00622a9587c793de673924;hpb=cc76487546e23683074785f885f2a30a6b175c26;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 " . $_; +##}