macOS
brew install ondirlocal Homebrew formula metadata
sudo port install ondirMacPorts ports tree · sysutils/ondir/Portfile · ソース: api.github.com
brew
ondir のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ondirlocal Homebrew formula metadata
sudo port install ondirMacPorts ports tree · sysutils/ondir/Portfile · ソース: api.github.com
sudo apt install ondirDebian stable package indexes · ondir · ソース: deb.debian.org
nix profile install nixpkgs#ondirnixpkgs package indexes · pkgs/by-name/on/ondir/package.nix · ソース: api.github.com
概要
Automatically execute scripts as you traverse directories
履歴
OnDir is a small terminal automation utility for running directory-specific shell actions when a user enters, leaves, or passes through configured paths. Its core idea is deliberately narrow: pair shell startup hooks with entries in ~/.ondirrc so path traversal can change process-local state such as umask values, environment setup, or virtualenv activation.
The upstream documentation presents OnDir as a compact C and shell tool by Alec Thomas, with source tarballs from 0.1.0 through 0.2.2 published on the project page and a mirrored GitHub repository containing the README, man page, shell hooks, and configuration examples. The project stayed small by design; the README describes the behavior as simple but effective.
Users install shell hooks for Bash, tcsh, zsh, or fish and then define enter and leave sections in ~/.ondirrc. The examples cover a public_html umask change, multiple paths per section, tilde and environment-variable expansion, regular-expression path matching, and automatic activation or deactivation of Python virtual environments.
OnDir is an early Unix-style answer to per-directory environment automation: tiny, text-configured, and shell-integrated rather than a large daemon. For package nerds, it is interesting less for scale than for how long the directory-hook pattern has been packaged as a standalone CLI.
セキュリティ状態
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.
~/.ondirrc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ondir | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://swapoff.org/ondir.html
インストールメタデータ
| パッケージキー | brew:ondir |
|---|---|
| バージョン | 0.2.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ondir |
| ホームページ | https://swapoff.org/ondir.html |
| 上流ドキュメント | https://swapoff.org/ondir.html |
| ライセンス | GPL-2.0-or-later |
| ソースアーカイブ | https://swapoff.org/files/ondir/ondir-0.2.4.tar.gz |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ondir |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
ondir 0.2.3+git20140220.55279f0-1
Automate tasks specific to certain directories in the shell
https://swapoff.org/ondir.html
sudo apt install ondirondir
nix profile install nixpkgs#ondirondir 0.2.3+git0.55279f03-1build1
Automate tasks specific to certain directories in the shell
sudo apt install ondirondir
sudo port install ondirソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.