1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 18:31:59 +00:00
ohmyzsh/plugins/git-svn/git-svn.plugin.zsh
Tristan Carel 14a1877311 New plugin git-svn installing git project
git-svn-clone-externals
2011-04-13 16:48:47 +02:00

10 lines
323 B
Bash

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)
}