ondir

Automate tasks specific to certain directories in the shell

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://swapoff.org/ondir.html


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ondir