Rich Enhanced Shell History - Contextual shell history for zsh and bash
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Šimon Let d4b0bb7382
Update troubleshooting.md
3 years ago
.github/workflows use record.V1 more, housekeeping 3 years ago
cmd Readme, fixes, changes 3 years ago
img update readme, install info, error mesages, minor fix, minor score tweak 6 years ago
internal Readme, fixes, changes 3 years ago
record better errors 3 years ago
scripts Fix tests 3 years ago
submodules update submodule 6 years ago
.gitignore add vscode files to gitignore 6 years ago
.gitmodules minor fixes 6 years ago
.goreleaser.yml Use Go binary to get epochtime 3 years ago
LICENSE Create LICENSE 7 years ago
Makefile Revert make fix 3 years ago
README.md Update README.md 3 years ago
go.mod Simplify shell hooks 3 years ago
go.sum Finish up and use device ID and name. Changes. 3 years ago
installation.md Update installation.md 3 years ago
troubleshooting.md Update troubleshooting.md 3 years ago

README.md

Latest version Go Report Card Go test Shell test

REcycle SHell

Context-based replacement for zsh and bash shell history.

Find any command you have used before.
Releveant results are displayed first based on current directory, git repo, and exit status.

Install

Install RESH with one command:

curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | sh

You will need to have curl and tar installed.

More options on Installation page ⇗

Update

Once installed RESH can be updated using:

reshctl update

Search your history

TODO: redo this

Draft: See RESH in action - record a terminal video

Recording content: Search your history by commands - Show searching some longer command

Get results based on current context - Show getting project-specific commands

Find any command - Show searching where the context brings the relevant command to the top

Start searching now - Show search in native shell histories

Press CTRL+R to search. Say bye to weak standard history search.

TODO: This doesn't seem like the right place for keybindings

In-app key bindings

  • Type to search/filter
  • Up/Down or Ctrl+P/Ctrl+N to select results
  • Right to paste selected command onto the command line so you can edit it before execution
  • Enter to execute
  • Ctrl+C/Ctrl+D to quit
  • Ctrl+G to abort and paste the current query onto the command line
  • Ctrl+R to switch between RAW and NORMAL mode

Issues & ideas

Find help on Troubleshooting page ⇗

Problem persists? Create an issue ⇗