OnDir
Rewrite in C to make it more portable?
Support for tcsh
Obtain enter/leave list from a user-specific config file? (~/.ondir?) Would alleviate security problems.
There are two problems with the RC file. One is that if there are unmatched braces, the lexer will die. The other is if there are strings which contain newlines inside the scripts they will be changed to ;'s.