macOS
brew install ondirlocal Homebrew formula metadata
sudo port install ondirMacPorts ports tree · sysutils/ondir/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ondir pour les workflows d'agents IA.
installation
brew install ondirlocal Homebrew formula metadata
sudo port install ondirMacPorts ports tree · sysutils/ondir/Portfile · Source: api.github.com
sudo apt install ondirDebian stable package indexes · ondir · Source: deb.debian.org
nix profile install nixpkgs#ondirnixpkgs package indexes · pkgs/by-name/on/ondir/package.nix · Source: api.github.com
aperçu
Automatically execute scripts as you traverse directories
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.
~/.ondirrcexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
ondir | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://swapoff.org/ondir.html
métadonnées d'installation
| Clé du paquet | brew:ondir |
|---|---|
| Version | 0.2.4 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/ondir |
| Page d'accueil | https://swapoff.org/ondir.html |
| Docs amont | https://swapoff.org/ondir.html |
| Licence | GPL-2.0-or-later |
| Archive source | https://swapoff.org/files/ondir/ondir-0.2.4.tar.gz |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 ondirpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.