Skip to content

jedrw/replay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replay

A shell command composer. Allows commands from your shell history to be composed and replayed in the order of your choosing.

Installation

From Binary

Download the latest release.

mkdir replay
tar -xvzf <replay-archive-name> -C ./replay/
cp ./replay/replay ~/.local/bin/

From Source

go install github.com/jedrw/replay/cmd/replay@latest

Build from source

git clone https://github.com/jedrw/replay.git
cd ./replay/cmd/replay
go build replay.go

Usage

Command Order

By default commands are run in the order they appear in the history. Commands can be given a specific order to run in using F[1-9] keys. Any commands with a specified order will be run before commands without, regardless of the number.

Search

Any non-control keys (control keys are listed in the footer) will be passed to the search pane. Search is a simple linear search with no glob or regex support.

History

Replay stores the last 5 replays you composed, access the history using Ctrl+h.

Running A Replay

Run the replay as shown in the preview pane using Alt+Enter on linux or Ctrl+r on mac.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages