Projects / OnDir


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.

Operating Systems

Recent releases

  •  23 Dec 2003 06:22

    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.

    •  17 Aug 2003 03:07

      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.

      •  13 Jul 2003 06:00

        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.

        •  21 Jun 2002 14:12

          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.

          •  14 Jun 2002 23:00

            Release Notes: OnDir will no longer execute .onenter/.onleave scripts due to security considerations. RC files are scanned much faster.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.