projects
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zsh add perl environments variables
[dotfiles.git]
/
zsh
/
plugins
/
git_install.pl
diff --git
a/zsh/plugins/git_install.pl
b/zsh/plugins/git_install.pl
index
3b63e0f
..
6d9d56e
100755
(executable)
--- a/
zsh/plugins/git_install.pl
+++ b/
zsh/plugins/git_install.pl
@@
-1,17
+1,23
@@
#!/usr/bin/perl -w
#
#!/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 " . $_;
+##}