A zsh plugin for generating a GitHub short URL using git.io.
MIT License
A zsh plugin for generating a GitHub short URL using git.io.
Inspired by tiny utility by Jorge Bucaran.
Add the following snippet ~/.zshrc
after the line antigen use oh-my-zsh
:
$ antigen bundle denysdovhan/gitio-zsh
Add the following line to your ~/.zshrc
where you're adding your other zsh plugins:
zgen load denysdovhan/gitio-zsh
If you don't use any plugin managers, follow these instructions:
~/zsh-extensions/gitio-zsh
)source
the file in your .zshrc
zsh
# Your .zshrc
source $HOME/zsh-extensions/gitio-zsh/gitio.plugin.zsh
In git repo:
gitio
In other directory:
gitio <[https://github.com/]username/repo> [cool-url]