denysdovhan / gitio-zsh

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

Home Page:https://git.io/gitio-zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://git.io/gitio-zsh

License:MIT License


Languages

Language:Shell 100.0%