resh

module
v0.0.0-...-a6e4c85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2023 License: MIT

README

Latest version Go Report Card Go test Shell test

RESH

Context-based replacement for zsh and bash shell history.

Full-text search your shell history.
Relevant 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 | bash

ℹ️ You will need to have bash, curl, and tar installed.

More options on Installation page ⇗

Search your history

Press Ctrl + R to search:

RESH search app screenshot
In-app key bindings
  • Type to search
  • Up / Down or Ctrl + P / Ctrl + N to select results
  • Enter to execute selected command
  • Right to paste selected command onto the command line so you can edit it before execution
  • Ctrl + C or Ctrl + D to quit
  • Ctrl + G to abort and paste the current query onto the command line
  • Ctrl + R to search without context (toggle)

Issues & ideas

Find help on Troubleshooting page ⇗

Problem persists? Create an issue ⇗

Directories

Path Synopsis
cmd
cli
internal
cfg
device
device implements helpers that get/set device config files
device implements helpers that get/set device config files
futil
futil implements common file-related utilities
futil implements common file-related utilities
msg
opt
recordint
Package recordint provides internal record types that are passed between resh components
Package recordint provides internal record types that are passed between resh components
Package record provides record types that are used in resh history files
Package record provides record types that are used in resh history files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL