macOS
brew install hstrlocal Homebrew formula metadata
sudo port install hstrMacPorts ports tree · shells/hstr/Portfile · ソース: api.github.com
brew / 順位 3520
hstr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install hstrlocal Homebrew formula metadata
sudo port install hstrMacPorts ports tree · shells/hstr/Portfile · ソース: api.github.com
sudo apk add hstrAlpine Linux edge package indexes · hstr · ソース: dl-cdn.alpinelinux.org
sudo dnf install hstrFedora Rawhide package metadata · hstr · ソース: dl.fedoraproject.org
nix profile install nixpkgs#hstrnixpkgs package indexes · pkgs/by-name/hs/hstr/package.nix · ソース: api.github.com
概要
Bash and zsh history suggest box
履歴
HSTR is a terminal user-interface for viewing, searching, curating, and reusing bash and zsh command history, with the hh command as a common shortcut.
The README expands HSTR as HiSToRy and presents it as a more efficient alternative to Ctrl-r for shell history completion. It combines search, navigation, deletion of sensitive or obsolete commands, and bookmarking of favorite commands.
The project evolved into a broadly packaged shell productivity tool, with documentation for bash and zsh bindings, aliases, environment-driven configuration, blacklist behavior, color and layout settings, and shell-history tuning.
The README lists installation documentation for many distributions and package systems, including Ubuntu, Debian, Fedora, CentOS, openSUSE, Gentoo, Alpine, Arch, FreeBSD, Slackware, Void, Haiku, macOS, Nix, Guix, and others. The input metadata also records packages in Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, and Ubuntu.
The project page collects coverage from Linux Magazine, UbuntuGeek, DebianAdmin, Tuxdiary, Softpedia, OSTechNix, videos, and community posts, which fits its role as a discoverable shell workflow enhancer.
Users typically add generated bash or zsh configuration to ~/.bashrc or ~/.zshrc, bind HSTR to a key such as Ctrl-r, and optionally define alias hh=hstr.
Configuration is intentionally shell-native: HSTR reads HISTFILE, HSTR_PROMPT, HSTR_IS_SUBSHELL, and HSTR_CONFIG, with options for color, prompt placement, matching mode, duplicate handling, favorites, and blacklists.
HSTR is significant in package-manager culture because it is a shell-history tool that crosses the boundary between a packaged executable and user dotfile integration. A package can install the binary, but value comes when the user wires it into readline or zsh keybindings.
It is also one of the better-known examples in the family of TUI shell-history searchers, alongside tools such as fzf-based history widgets and newer history managers.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.bashrc~/.zshrc~/.hstr_blacklist実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
hh | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
hstr | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:hstr |
|---|---|
| バージョン | 3.2 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/dvorka-oss/hstr |
| リポジトリ | https://github.com/dvorka-oss/hstr |
| 最終更新 | 2026-07-28T13:41:32+09:00 |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
hstr 3.1+ds-1+b1
Suggest box like shell history completion
https://github.com/dvorka/hstr
sudo apt install hstrhstr
nix profile install nixpkgs#hstrhstr 3.1+ds-1build2
Suggest box like shell history completion
https://github.com/dvorka/hstr
sudo apt install hstrhstr 3.2-r0
Bash and ZSH shell history suggest box
https://github.com/dvorka/hstr
sudo apk add hstrhstr-bash-completion 3.2-r0
Bash completions for hstr
https://github.com/dvorka/hstr
sudo apk add hstr-bash-completionhstr-doc 3.2-r0
Bash and ZSH shell history suggest box (documentation)
https://github.com/dvorka/hstr
sudo apk add hstr-dochstr 3.1-8.fc45
Suggest box like shell history completion
https://github.com/dvorka/hstr
sudo dnf install hstrhstr
sudo port install hstrソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.