Created
October 26, 2018 10:56
-
-
Save nsollazzo/28d474bce2c9f4bed571062eb0fadefb to your computer and use it in GitHub Desktop.
fix to upgrade oh_my_zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Fix to the problem: | |
# [Oh My Zsh] Would you like to check for updates? | |
# Type Y to update oh-my-zsh: Y | |
# Upgrading Oh My Zsh | |
# Cannot pull with rebase: You have unstaged changes. | |
# Please commit or stash them. | |
# There was an error updating. Try again later? | |
cd "$ZSH" && git stash && upgrade_oh_my_zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment