{"id":13491119,"url":"https://github.com/curusarn/resh","last_synced_at":"2025-05-16T18:10:37.925Z","repository":{"id":39674422,"uuid":"178674981","full_name":"curusarn/resh","owner":"curusarn","description":"RESH ❯❯ Contextual shell history for zsh and bash","archived":false,"fork":false,"pushed_at":"2023-05-13T20:48:53.000Z","size":2424,"stargazers_count":1023,"open_issues_count":65,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-12T17:46:14.388Z","etag":null,"topics":["bash","context","contextual","history","linux","macos","metadata","productivity","shell-history","thesis","zsh"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curusarn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-03-31T10:47:40.000Z","updated_at":"2025-04-11T08:59:05.000Z","dependencies_parsed_at":"2024-04-12T20:55:16.860Z","dependency_job_id":null,"html_url":"https://github.com/curusarn/resh","commit_stats":{"total_commits":546,"total_committers":8,"mean_commits":68.25,"dds":0.2362637362637363,"last_synced_commit":"a0adcee1781f611e9d62336cd92af969b56768a5"},"previous_names":[],"tags_count":102,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curusarn%2Fresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curusarn%2Fresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curusarn%2Fresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curusarn%2Fresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curusarn","download_url":"https://codeload.github.com/curusarn/resh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","context","contextual","history","linux","macos","metadata","productivity","shell-history","thesis","zsh"],"created_at":"2024-07-31T19:00:53.714Z","updated_at":"2025-05-16T18:10:37.873Z","avatar_url":"https://github.com/curusarn.png","language":"Go","readme":"\n[![Latest version](https://img.shields.io/github/v/tag/curusarn/resh?sort=semver)](https://github.com/curusarn/resh/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/curusarn/resh)](https://goreportcard.com/report/github.com/curusarn/resh)\n[![Go test](https://github.com/curusarn/resh/actions/workflows/go.yaml/badge.svg)](https://github.com/curusarn/resh/actions/workflows/go.yaml)\n[![Shell test](https://github.com/curusarn/resh/actions/workflows/sh.yaml/badge.svg)](https://github.com/curusarn/resh/actions/workflows/sh.yaml)\n\n# RESH\n\nContext-based replacement for `zsh` and `bash` shell history.\n\n**Full-text search your shell history.**  \nRelevant results are displayed first based on current directory, git repo, and exit status.\n\n\u003c!-- Contextual shell history --\u003e\n\u003c!-- Contextual bash history --\u003e\n\u003c!-- Contextual zsh history --\u003e\n\u003c!-- Context-based shell history --\u003e\n\u003c!-- Context-based bash history --\u003e\n\u003c!-- Context-based zsh history --\u003e\n\u003c!-- Better shell history --\u003e\n\u003c!-- Better bash history --\u003e\n\u003c!-- Better zsh history --\u003e\n\u003c!-- PWD Directory --\u003e\n\n## Install\n\nInstall RESH with one command:\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | bash\n```\n\nℹ️ You will need to have `bash`, `curl`, and `tar` installed.\n\nMore options on [Installation page ⇗](./installation.md)\n\n## Search your history\n\nPress \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eR\u003c/kbd\u003e to search:\n\n\u003cimg width=\"906\" alt=\"RESH search app screenshot\" src=\"https://user-images.githubusercontent.com/10132717/221371937-d4ba64e0-ede6-4bfa-8b74-529252bf73a3.png\"\u003e\n\n### In-app key bindings\n\n- Type to search\n- \u003ckbd\u003eUp\u003c/kbd\u003e / \u003ckbd\u003eDown\u003c/kbd\u003e or \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e / \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eN\u003c/kbd\u003e to select results\n- \u003ckbd\u003eEnter\u003c/kbd\u003e to execute selected command\n- \u003ckbd\u003eRight\u003c/kbd\u003e to paste selected command onto the command line so you can edit it before execution\n- \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eC\u003c/kbd\u003e or \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eD\u003c/kbd\u003e to quit\n- \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eG\u003c/kbd\u003e to abort and paste the current query onto the command line\n- \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eR\u003c/kbd\u003e to search without context (toggle)\n\n## Issues \u0026 ideas\n\nFind help on [Troubleshooting page ⇗](./troubleshooting.md)\n\nProblem persists? [Create an issue ⇗](https://github.com/curusarn/resh/issues)\n","funding_links":[],"categories":["Go","bash","Command-Line Productivity"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurusarn%2Fresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurusarn%2Fresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurusarn%2Fresh/lists"}