✂️ A zsh plugin for generating a GitHub short URL using git.io.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
gitio.plugin.zsh
gitio.zsh
preview.png

README.md

gitio-zsh

gitio zsh MIT

A zsh plugin for generating a GitHub short URL using git.io.

Inspired by tiny utility by Jorge Bucaran.

Install

For antigen users

Add the following snippet ~/.zshrc after the line antigen use oh-my-zsh:

$ antigen bundle denysdovhan/gitio-zsh

For Zgen users

Add the following line to your ~/.zshrc where you're adding your other zsh plugins:

zgen load denysdovhan/gitio-zsh

Manually

If you don't use any plugin managers, follow these instructions:

  1. Clone this repository to your favorite path (e.g. ~/zsh-extensions/gitio-zsh)
  2. source the file in your .zshrc
  3. Restart your zsh
# Your .zshrc
source $HOME/zsh-extensions/gitio-zsh/gitio.plugin.zsh

Usage

In git repo:

gitio

In other directory:

gitio <[https://github.com/]username/repo> [cool-url]

License

MIT © Denys Dovhan