Skip to content

Instantly share code, notes, and snippets.

@torsten torsten/.zshrc
Created Apr 2, 2012

Embed
What would you like to do?
zsh alias for GitHub's URL shortener
# Usage: git.io GITHUB-URL
# Based on https://github.com/blog/985-git-io-github-url-shortener
__make_git_io() {
curl -i http://git.io -F "url=$1"
}
alias git.io=__make_git_io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.