An open API service indexing awesome lists of open source software.

https://github.com/edsoncelio/shell-history-exporter


https://github.com/edsoncelio/shell-history-exporter

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# go-history-exporter
Small tool to export the zsh_history to a private Gist.

## Requirements
* A valid Github personal token with gist permissions exported with the name GH_TOKEN

## How to use
```
# build
go build .

# execute
export GH_TOKEN=xxxxxxxxxx
./go-history-exporter
``````

Expected output:
```
➜ ./go-history-exporter
zsh_history backup tool!
Reading zsh_history file...
Creating Gist..
Gist created successfully!!
```