@@ -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"
new file mode 100644
@@ -0,0 +1,5 @@
+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