https://github.com/ericr/to_gist
Automagically pipe bash output to a new gist.
https://github.com/ericr/to_gist
Last synced: 5 months ago
JSON representation
Automagically pipe bash output to a new gist.
- Host: GitHub
- URL: https://github.com/ericr/to_gist
- Owner: EricR
- Created: 2015-04-01T16:44:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-05T17:32:02.000Z (about 11 years ago)
- Last Synced: 2023-03-13T12:11:27.324Z (over 3 years ago)
- Language: Shell
- Homepage:
- Size: 267 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# to_gist
Automagically pipe bash output to a new gist.
Reads STDIN, creates a new gist, and copies the URL to your clipboard.
This bash script runs in the context of your current shell, and uses
bash history to figure out which commands were executed previously
in the pipe chain before to\_gist was executed.

## Installation
```bash
brew tap ericr/formulae
brew install to_gist
```
If you haven't already, generate a GitHUb access token for command line
use. You can find more information about that [here](https://help.github.com/articles/creating-an-access-token-for-command-line-use/).