Install Ondir On A Debian, Ubuntu, Kali, Raspbian And MacOS
Maintainer: Christian Seiler
Email: [email protected] .
Website: http://swapoff.org/ondir.html
Section: utils
Install ondir
-
Debian
apt-get install ondirClick to copy -
Ubuntu
apt-get install ondirClick to copy -
Kali Linux
apt-get install ondirClick to copy -
Raspbian
apt-get install ondirClick to copy -
macOS
brew install ondirClick to copy
ondir
Automate tasks specific to certain directories in the shellondir 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.
Installing ondir command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali, Raspbian and macOS operating systems. Once you run the command it will install the latest version of ondir 2026 package in your OS.




