提交 1ec8a884 编写于 作者: R Robby Russell

Adding an upgrade_oh_my_zsh function to... well, upgrade Oh My Zsh

上级 0ce2fd09
......@@ -32,6 +32,10 @@ function uninstall_oh_my_zsh() {
/bin/sh $ZSH/tools/uninstall.sh
}
function upgrade_oh_my_zsh() {
/bin/sh $ZSH/tools/upgrade.sh
}
function tab() {
osascript 2>/dev/null <<EOF
tell application "System Events"
......
current_path=`pwd`
echo "Upgrading Oh My Zsh"
( cd $ZSH && git pull origin master )
echo "Done."
cd $current_path
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册