OnDir automatically executes scripts in directories when you traverse them at the command line. In addition, it also executes these scripts in any intervening directories. Use it if you are sick of typing 'umask 022' when editing your Web pages in ~/public_html, or want to add a directory to your PATH - but only while in certain directories.
|Implementation||C Unix Shell|
Release Notes: This version performs tilde and environment variable expansion in paths, environment variable expansion in section bodies, regular expression sub-pattern capturing in enter/leave paths, and subsequent expansion in section bodies.
Release Notes: Support for regular expression matching of paths (this may break backward compatibility if your paths have weird characters in them) and $ONDIRWD expansion.
Release Notes: This version has been completely rewritten in C. The configuration file format has subsequently been changed and now supports multiple paths per enter/ leave scripts.
Release Notes: This release fixes compilation problems on OS X, includes major man page fixes, re-adds .onenter/.onleave support, adds a fix for traversing symlinked paths, and includes code cleanups.
Release Notes: OnDir will no longer execute .onenter/.onleave scripts due to security considerations. RC files are scanned much faster.