Userdir, Bashishdir

In order to share code on multiuser systems and make it easy for people who doesn't have a root-account to update his bashish installation, bashish introduced the module() function, this function takes a module2 as an argument and checks whether the file is located in $BASHISHDIR/modules/$SHELL/ or in $BASHISH_USERDIR/modules/$SHELL/ . Upon request, bashish first tries to load the file from BASHISH_USERDIR and then tries BASHISHDIR .

This means that a user can override some module while using most of the bashish distribution from a globally shared directory.



Thomas Eriksson 2004-06-23