mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
add upgrade_forked_oh_my_zsh function;
This commit is contained in:
parent
9c6b88607e
commit
4aaab9f277
1 changed files with 8 additions and 0 deletions
|
|
@ -10,6 +10,14 @@ function upgrade_oh_my_zsh() {
|
||||||
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
|
/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() {
|
function take() {
|
||||||
mkdir -p $1
|
mkdir -p $1
|
||||||
cd $1
|
cd $1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue