diff --git a/lib/functions.zsh b/lib/functions.zsh index f30653784..092e4ce97 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -10,6 +10,15 @@ function upgrade_oh_my_zsh() { env ZSH=$ZSH sh $ZSH/tools/upgrade.sh } +function upgrade_forked_oh_my_zsh() { + cd $ZSH + git remote add robbyrussell https://github.com/robbyrussell/oh-my-zsh.git + git fetch robbyrussell + git merge robbyrussell/master + git push origin master + cd - +} + function take() { mkdir -p $1 cd $1