[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#846237: ITP: ondir -- Automate tasks specific to certain directories in the shell



On 11/29/2016 03:41 PM, Christian Seiler wrote:
(Forwarding because I forgot to Cc debian-devel@.)

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.

hi,

Seems very similar to the direnv package except that direnv does not have an unload hook by design (e.g. what is done when the terminal is closed? I guess its up to the users script to handle that?)
Are there any other notable differences?

From the descriptions it seems that direnv might be the better choice is what you need is only environment setup and teardown and not execution of arbitrary commands, possibly that should be noted in the description so the user can decide.

cheers,
Julian


Reply to: