Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/curusarn/resh

RESH ❯❯ Contextual shell history for zsh and bash
https://github.com/curusarn/resh

bash context contextual history linux macos metadata productivity shell-history thesis zsh

Last synced: 11 days ago
JSON representation

RESH ❯❯ Contextual shell history for zsh and bash

Awesome Lists containing this project

README

        

[![Latest version](https://img.shields.io/github/v/tag/curusarn/resh?sort=semver)](https://github.com/curusarn/resh/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/curusarn/resh)](https://goreportcard.com/report/github.com/curusarn/resh)
[![Go test](https://github.com/curusarn/resh/actions/workflows/go.yaml/badge.svg)](https://github.com/curusarn/resh/actions/workflows/go.yaml)
[![Shell test](https://github.com/curusarn/resh/actions/workflows/sh.yaml/badge.svg)](https://github.com/curusarn/resh/actions/workflows/sh.yaml)

# 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:

```sh
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 ⇗](./installation.md)

## 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 ⇗](./troubleshooting.md)

Problem persists? [Create an issue ⇗](https://github.com/curusarn/resh/issues)