Skip to content

Instantly share code, notes, and snippets.

@teamon
Forked from anonymous/.zshrc
Created July 4, 2013 14:27
Show Gist options
  • Save teamon/5928237 to your computer and use it in GitHub Desktop.
Save teamon/5928237 to your computer and use it in GitHub Desktop.
function loc {
s=$(git stash)
localeapp pull && git commit -am "Pulled new translations from localeapp"
if [ ! "$s" = "No local changes to save" ]; then git stash pop; fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment