Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 445 Bytes

File metadata and controls

12 lines (10 loc) · 445 Bytes

gh-shell

Save your favorite shell commands in a portable history file backed by a gist.

Usage

$ gh shell list
$ gh shell add <command>
$ gh shell remove <command>
$ gh shell restore

Restoring the shell commands appends the list that is stored in the gist to your local shell history file ($HISTFILE). This allows you to save your favorite commands and then restore them on any machine, including as part of your dotfiles setup.