From 4aaab9f27761014639181d60a1022629f9c48175 Mon Sep 17 00:00:00 2001 From: liang8305 <418094911@qq.com> Date: Fri, 12 Apr 2013 11:18:32 +0800 Subject: [PATCH] add upgrade_forked_oh_my_zsh function; --- lib/functions.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/functions.zsh b/lib/functions.zsh index 63ab755cf..f88385233 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -10,6 +10,14 @@ function upgrade_oh_my_zsh() { /usr/bin/env ZSH=$ZSH /bin/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 +} + function take() { mkdir -p $1 cd $1