mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
14a1877311
git-svn-clone-externals
10 lines
323 B
Bash
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)
|
|
}
|