{"id":13396948,"url":"https://github.com/dvorka/hstr","last_synced_at":"2025-05-13T00:20:38.696Z","repository":{"id":12259790,"uuid":"14877272","full_name":"dvorka/hstr","owner":"dvorka","description":"bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.","archived":false,"fork":false,"pushed_at":"2025-05-09T05:52:32.000Z","size":2256,"stargazers_count":4213,"open_issues_count":174,"forks_count":238,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-05-10T13:50:04.698Z","etag":null,"topics":["bash","c","cli","command-history","history","linux","ubuntu","zsh"],"latest_commit_sha":null,"homepage":"http://me.mindforger.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvorka.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-02T22:47:51.000Z","updated_at":"2025-05-09T19:59:57.000Z","dependencies_parsed_at":"2023-02-13T01:31:35.297Z","dependency_job_id":"41211fa7-8645-40b2-9388-ae48d44c5f25","html_url":"https://github.com/dvorka/hstr","commit_stats":{"total_commits":753,"total_committers":58,"mean_commits":"12.982758620689655","dds":"0.44090305444887123","last_synced_commit":"4e02bd81bf928a2609e277efc67a3ba13b0826ce"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka%2Fhstr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka%2Fhstr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka%2Fhstr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka%2Fhstr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvorka","download_url":"https://codeload.github.com/dvorka/hstr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843868,"owners_count":21972974,"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","c","cli","command-history","history","linux","ubuntu","zsh"],"created_at":"2024-07-30T18:01:08.272Z","updated_at":"2025-05-13T00:20:38.670Z","avatar_url":"https://github.com/dvorka.png","language":"C","readme":"# HSTR\n\n[![GitHub Actions CI for Ubuntu](https://github.com/dvorka/hstr/actions/workflows/build_ubuntu.yml/badge.svg)](https://github.com/dvorka/hstr/actions)\n[![Current release](https://img.shields.io/github/release/dvorka/hstr.svg)](https://github.com/dvorka/hstr/releases)\n[![GitHub issues](https://img.shields.io/github/issues/dvorka/hstr.svg?maxAge=360)](https://github.com/dvorka/hstr/issues)\n[![All releases downloads](https://img.shields.io/github/downloads/dvorka/hstr/total.svg)](https://github.com/dvorka/hstr/releases)\n[![License](https://img.shields.io/github/license/dvorka/hstr?color=%23fe0000)](https://github.com/dvorka/hstr/blob/master/LICENSE)\n\nEasily view, navigate and search your **command history** with shell history suggest box for \n[bash](https://www.gnu.org/software/bash/) and [zsh](CONFIGURATION.md#zsh-history-settings).\n\n[![Shell History Suggest Box](doc/hstr-v2.gif \"Shell History Suggest Box @ YouTube\")](http://www.youtube.com/watch?v=sPF29NyXe2U)\n\n## Description\n\nAre you looking for a command that you used **recently**? Do you\nwant to  avoid the need to write **long commands** over and over\nagain? Are you looking for a tool that is able to manage your\n**favorite** commands?\n\nHSTR (**H**i**ST**o**R**y) is a command line utility that brings improved `bash`/`zsh` command completion\nfrom the history. It aims to make completion **easier** and more **efficient** than \u003ckbd\u003eCtrl-r\u003c/kbd\u003e.\n\nHSTR can also **manage** your command history (for instance you can remove\ncommands that are obsolete or contain a piece of sensitive information)\nor **bookmark** your favorite commands.\n\n\u003c!-- Check [video](http://www.youtube.com/watch?v=sPF29NyXe2U) tutorial. --\u003e\n\n## Installation\n\nInstall:\n\n* [Ubuntu](INSTALLATION.md#ubuntu)\n* [Debian](INSTALLATION.md#debianmint)\n* [Mint](INSTALLATION.md#debianmint)\n* [Fedora](INSTALLATION.md#fedorarhelcentosscientific)\n* [CentOS](INSTALLATION.md#fedorarhelcentosscientific)\n* [RHEL](INSTALLATION.md#fedorarhelcentosscientific)\n* [Scientific Linux](INSTALLATION.md#fedorarhelcentosscientific)\n* [openSUSE](INSTALLATION.md#opensuse)\n* [Gentoo](INSTALLATION.md#gentoo)\n* [Alpine Linux](INSTALLATION.md#alpine-linux)\n* [Arch](INSTALLATION.md#archmanjaro-linux)\n* [Manjaro Linux](INSTALLATION.md#archmanjaro-linux)\n* [FreeBSD](INSTALLATION.md#freebsd)\n* [Slackware Linux](INSTALLATION.md#slackware)\n* [Void Linux](INSTALLATION.md#void-linux)\n* [Milis Linux](INSTALLATION.md#milis-linux)\n* [Haiku OS](INSTALLATION.md#haiku-os)\n* [macOS](INSTALLATION.md#macos)\n* [nix package manager](INSTALLATION.md#nix-package-manager)\n* [Guix package manager](INSTALLATION.md#guix-package-manager)\n* [MPR package manager](INSTALLATION.md#mpr-package-manager)\n\nBuild:\n\n* [build on any Linux distro](INSTALLATION.md#build-on-any-linux-distro)\n* [build snap](INSTALLATION.md#snap)\n* [build on Ubuntu](INSTALLATION.md#build-on-ubuntu)\n* [build on Debian](INSTALLATION.md#build-on-debian)\n* [build on Fedora](INSTALLATION.md#build-on-fedora)\n* [build on Windows Subsystem for Linux (WSL)](INSTALLATION.md#build-on-wsl)\n* [build on Cygwin](INSTALLATION.md#build-on-cygwin)\n* [build on macOS](INSTALLATION.md#build-on-macos)\n\nTarball:\n\n* [build and install tarball](INSTALLATION.md#build-and-install-tarball)\n\nCheck also [packages](https://pkgs.org/search/?q=hstr) for Linux and Unix.\n\n## Configuration\n\nConfigure HSTR just by running:\n\n```bash\n# bash\nhstr --show-bash-configuration \u003e\u003e ~/.bashrc\n\n# zsh\nhstr --show-zsh-configuration \u003e\u003e ~/.zshrc\n```\n\nFor detailed HSTR configuration documentation please refer to [Configuration](CONFIGURATION.md).\n\n## In the News\n\nRead about HSTR in [LinuxMagazine](http://www.linux-magazine.com/Issues/2014/164/Bash-History-on-Steroids), [UbuntuGeek](http://www.ubuntugeek.com/tag/hstr-bash-history), [DebianAdmin](http://www.debianadmin.com/hstr-easily-view-navigate-search-and-use-your-command-history-with-shell-history.html), [Tuxdiary](http://tuxdiary.com/2015/02/17/hstr/), [Softpedia](http://linux.softpedia.com/get/Terminals/BASH-Command-History-Completion-103155.shtml) and [OSTechNix](https://www.ostechnix.com/hstr-easily-view-navigate-search-manage-commandline-history/).\n\n## Documentation\n\nCheck man page:\n\n```bash\nman hstr\n```\n\nUser videos: [Zack](https://www.youtube.com/watch?v=Qd75pIeQkH8), [Dvorka](https://www.youtube.com/watch?v=sPF29NyXe2U) and [Yu-Jie Lin](https://www.youtube.com/watch?v=Qx5n_5B5xUw).\n\n## Bugs\n\nhttps://github.com/dvorka/hstr/issues\n","funding_links":[],"categories":["C","CLI tools","Development","Command-Line Productivity","Tools","Shells","\u003ca name=\"tooling\"\u003e\u003c/a\u003etooling","cli","ubuntu","\u003ca name=\"history\"\u003e\u003c/a\u003eHistory management"],"sub_categories":["Time Series","C","Bash","Reusable Things"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvorka%2Fhstr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvorka%2Fhstr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvorka%2Fhstr/lists"}