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=3b63e0f2907113f5eb00622a9587c793de673924;hb=3ef87db37769cff1a6d40ff7988a6b5bb8ae923a;hp=0000000000000000000000000000000000000000;hpb=29757ae620a75ea01fbd37dfb46cde95c59a8c56;p=dotfiles.git diff --git a/zsh/plugins/git_install.pl b/zsh/plugins/git_install.pl new file mode 100755 index 0000000..3b63e0f --- /dev/null +++ b/zsh/plugins/git_install.pl @@ -0,0 +1,17 @@ +#!/usr/bin/perl -w +# +my $filename = "git_lists"; + +my %hash=(); + +open FILE, "$filename"; +while (){ + chomp; + my ($name, $url) = split; + $hash{$name} = $url; +} +close FILE; + +foreach (values %hash) { + system "git clone " . $_; +}