summaryrefslogtreecommitdiff
path: root/plugins/git-svn/git-svn.plugin.zsh
blob: 062d63e05e8f210b2f80d844173637a52090be26 (plain)
1
2
3
4
5
6
7
8
9
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)
}