{"id":20610886,"url":"https://github.com/psmths/history-quickrun","last_synced_at":"2026-04-21T02:02:13.073Z","repository":{"id":117461334,"uuid":"291103196","full_name":"Psmths/history-quickrun","owner":"Psmths","description":"Quickly find and run past commands from bash history","archived":false,"fork":false,"pushed_at":"2020-08-31T01:11:37.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T17:50:37.508Z","etag":null,"topics":["bash","command-line-tool","terminal-app"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Psmths.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,"publiccode":null,"codemeta":null}},"created_at":"2020-08-28T17:12:26.000Z","updated_at":"2022-09-06T16:22:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"02a215d3-519e-4449-8d0a-7377f19463ec","html_url":"https://github.com/Psmths/history-quickrun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Psmths/history-quickrun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psmths%2Fhistory-quickrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psmths%2Fhistory-quickrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psmths%2Fhistory-quickrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psmths%2Fhistory-quickrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Psmths","download_url":"https://codeload.github.com/Psmths/history-quickrun/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Psmths%2Fhistory-quickrun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32073496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T01:35:38.224Z","status":"online","status_checked_at":"2026-04-21T02:00:06.111Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","command-line-tool","terminal-app"],"created_at":"2024-11-16T10:18:16.262Z","updated_at":"2026-04-21T02:02:13.032Z","avatar_url":"https://github.com/Psmths.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# history-quickrun\n Quickly find and run past commands from bash history. This is a python script that will take user input and use regular expressions to match it to commands found in your bash history. It will then return an enumerated list of the commands it found and allow you to run the one you were looking for instead of abusing the up arrow key.\n\n # Usage\n```\n./hr 'partial command'\n```\n\nThe input argument being a regex can be used to search for multiple commands:\n\n```\n./hr 'sys|echo'\n```\n\nAdditionally, the script allows you to run a chain of commands successively by entering a comma separated list of indices such as 3,7,13.\n\nIt should be noted that the current shell session history is stored in memory, whereas this program reads from a history file. In order to update the history when the command is run you may consider setting an appropriate alias such as:\n\n```\nalias h='history -a; hr $1'\n```\n\n# Example\n\n![Example](/media/screenfetch.png \"Example Screenshot\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsmths%2Fhistory-quickrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsmths%2Fhistory-quickrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsmths%2Fhistory-quickrun/lists"}