| 0 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,10 @@ |
| 0 |
+ |
|
| 1 |
+if ! [ -d "$ZSH/plugins/git-svn/git-svn-clone-externals" ] ;then |
|
| 2 |
+ git clone https://github.com/andrep/git-svn-clone-externals.git |
|
| 3 |
+fi |
|
| 4 |
+export PATH="$ZSH/plugins/git-svn/git-svn-clone-externals:$PATH" |
|
| 5 |
+ |
|
| 6 |
+function git_svn_update {
|
|
| 7 |
+ (cd "$ZSH/plugins/git-svn/git-svn-clone-externals" && \ |
|
| 8 |
+ git pull origin master) |
|
| 9 |
+} |