From: Peng Li Date: Sat, 18 Feb 2017 05:28:03 +0000 (+0800) Subject: add submodule for zsh-syntax-highlighting X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=c89e5771e7d20621fc2d9ea73f3d465bd676558a;p=dotfiles.git add submodule for zsh-syntax-highlighting --- diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..db76b59 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "zsh/plugins/zsh-syntax-highlighting"] + path = zsh/plugins/zsh-syntax-highlighting + url = git://github.com/zsh-users/zsh-syntax-highlighting.git diff --git a/zsh/plugins/README.md b/zsh/plugins/README.md new file mode 100644 index 0000000..682fa74 --- /dev/null +++ b/zsh/plugins/README.md @@ -0,0 +1,2 @@ +The folders in this directory are git submodules. +Use `git submodule init` and `git submudule update` to fetch the submodules, or you can also using `git clone --recursive https://github.com/seudut/dotfiles.git` when clone the super project. diff --git a/zsh/plugins/git_install.pl b/zsh/plugins/git_install.pl deleted file mode 100755 index 6d9d56e..0000000 --- a/zsh/plugins/git_install.pl +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/perl -w -# -# -my @git_lists = qw { - git://github.com/zsh-users/zsh-syntax-highlighting.git -}; -#my $filename = "git_lists"; - -print $git_lists[0]; - -`git clone $_` foreach @git_lists; - -##open FILE, "$filename"; -##while (){ -## chomp; -## my ($name, $url) = split; -## $hash{$name} = $url; -##} -##close FILE; -## -##foreach (values %hash) { -## system "git clone " . $_; -##} diff --git a/zsh/plugins/git_lists b/zsh/plugins/git_lists deleted file mode 100644 index a112d9e..0000000 --- a/zsh/plugins/git_lists +++ /dev/null @@ -1 +0,0 @@ -zsh-syntax-highlighting git://github.com/zsh-users/zsh-syntax-highlighting.git diff --git a/zsh/plugins/zsh-syntax-highlighting b/zsh/plugins/zsh-syntax-highlighting new file mode 160000 index 0000000..9523d6d --- /dev/null +++ b/zsh/plugins/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 9523d6d49cb3d4db5bd84c3cec6168a2057fe3ab