https://github.com/jkeech/gh-shell
Save your favorite shell commands in a portable history file backed by a gist.
https://github.com/jkeech/gh-shell
gh-extension
Last synced: 3 months ago
JSON representation
Save your favorite shell commands in a portable history file backed by a gist.
- Host: GitHub
- URL: https://github.com/jkeech/gh-shell
- Owner: jkeech
- License: mit
- Created: 2021-09-04T03:29:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T19:36:27.000Z (almost 4 years ago)
- Last Synced: 2025-03-30T14:11:40.205Z (4 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-shell
Save your favorite shell commands in a portable history file backed by a gist.## Usage
```
$ gh shell list
$ gh shell add
$ gh shell remove
$ 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.