On Mon, Mar 27, 2017 at 9:23 AM, Gustaw Smolarczyk <wielkie...@gmail.com> wrote: > 26 mar 2017 22:32 "Edmondo Tommasina" <edmondo.tommas...@gmail.com> > napisał(a): > > Define a new MESA_USER_DRIRC environment variable to load a customized > drirc file. > > When the variable is not defined, nothing changes and the ${HOME}/.drirc > file will be loaded. > > If the variable is set to a file, this file will be loaded instead of > the the ${HOME}/.drirc. > > Example: MESA_USER_DRIRC=~/glthread.drirc glxgears > > If the variable is set to nothing, it avoids to load the ${HOME}/.drirc > file. > > Example: MESA_USER_DRIRC= glxgears > > > Isn't a different behavior of unset variable vs an empty one confusing?
Possibly. It's a trade off between not touching the default behavior and allowing to skip the ${HOME}/.drirc load. I'm not too concerned and don't feel too strong about it. We can reach quite the same by setting the variable to /dev/null. > And > what about at least documenting it outside of the commit message? That's a good point. I'll extend the documentation and send a new version. > Gustaw THANKS edmondo _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev