Binary package “ondir” in ubuntu noble

Automate tasks specific to certain directories in the shell

 ondir is a small program to automate tasks specific to certain
 directories. It works by executing scripts in directories when you
 enter and leave them. It may be used to set environment variables or
 change the umask depending on the current working directory.
 .
 This program is similar to the direnv package. In contrast to direnv,
 which expects the per-directory settings to be stored in the directory
 itself, ondir uses a central configuration file in the user's home
 directory, and can match directories based on patterns.
 .
 ondir supports bash, zsh and fish out of the box.