https://github.com/denysdovhan/gitio-zsh
:scissors: A zsh plugin for generating a GitHub short URL using git.io.
https://github.com/denysdovhan/gitio-zsh
Last synced: 23 days ago
JSON representation
:scissors: A zsh plugin for generating a GitHub short URL using git.io.
- Host: GitHub
- URL: https://github.com/denysdovhan/gitio-zsh
- Owner: denysdovhan
- License: mit
- Archived: true
- Created: 2016-03-06T16:56:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-22T11:49:13.000Z (over 9 years ago)
- Last Synced: 2025-02-10T08:32:44.078Z (9 months ago)
- Language: Shell
- Homepage: https://git.io/gitio-zsh
- Size: 64.5 KB
- Stars: 22
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - gitio (denysdovhan) - A ZSH plugin for generating a GitHub short URL using [git.io](https://git.io). (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - gitio (denysdovhan) - A ZSH plugin for generating a GitHub short URL using 🌎 [git.io](git.io). (Plugins / ZSH on Windows)
- awesome-zsh-plugins - gitio - A ZSH plugin for generating a GitHub short URL using [git.io](https://git.io). (Plugins / Zinit (née zplugin))
README

# gitio ![zsh][zsh] [![MIT][mit-img]][mit-url]
> A zsh plugin for generating a GitHub short URL using [git.io](https://git.io).
Inspired by [tiny](https://github.com/fishery/tiny) utility by [Jorge Bucaran](https://github.com/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`
```sh
# Your .zshrc
source $HOME/zsh-extensions/gitio-zsh/gitio.plugin.zsh
```
## Usage
In git repo:
```zsh
gitio
```
In other directory:
```zsh
gitio <[https://github.com/]username/repo> [cool-url]
```
## License
[MIT][mit-url] © [Denys Dovhan](http://denysdovhan.com)
[zsh]: https://img.shields.io/badge/shell-zsh-brightgreen.svg?style=flat-square
[mit-img]: https://img.shields.io/badge/License-MIT-707070.svg?style=flat-square
[mit-url]: http://opensource.org/licenses/MIT