The documentation states that davitpyrc is looked for either in the user's home directory or in davitpy/davitpy/davitpyrc. This doesn't seem to be the case. After experiencing some problems getting a centrally-installed version of davit to work for multiple users, the following rules seem to be in force to locate davitpyrc:
Current working directory
Directory pointed to by the environment variable $DAVITPYRC, if defined
$XDG_CONFIG_HOME/davitpy if $XDG_CONFIG_HOME is defined
$HOME/.config/davitpy
Finally in davitpy/davitpy/davitpyrc
If I'm right then this is all very good, but the readme file just needs an update to reflect this behaviour.
The documentation states that davitpyrc is looked for either in the user's home directory or in davitpy/davitpy/davitpyrc. This doesn't seem to be the case. After experiencing some problems getting a centrally-installed version of davit to work for multiple users, the following rules seem to be in force to locate davitpyrc:
If I'm right then this is all very good, but the readme file just needs an update to reflect this behaviour.