Skip to content

denysdovhan/gitio-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages