New plugin git-svn installing git project

git-svn-clone-externals
master
Tristan Carel 15 years ago
parent 2e9492969b
commit 14a1877311
  1. 1
      plugins/git-svn/.gitignore
  2. 10
      plugins/git-svn/git-svn.plugin.zsh

@ -0,0 +1 @@
git-svn-clone-externals

@ -0,0 +1,10 @@
if ! [ -d "$ZSH/plugins/git-svn/git-svn-clone-externals" ] ;then
git clone https://github.com/andrep/git-svn-clone-externals.git
fi
export PATH="$ZSH/plugins/git-svn/git-svn-clone-externals:$PATH"
function git_svn_update {
(cd "$ZSH/plugins/git-svn/git-svn-clone-externals" && \
git pull origin master)
}
Loading…
Cancel
Save