Open rkitover opened 2 years ago
The logic of the function is a bit disjointed because I tried to keep the original structure, but I can rewrite it if you want.
Also when elevated the global config locations are not checked, they were previously, but I thought if your intent is to separate elevated and non-elevated configs they shouldn't be.
I will have a look a couple of days later.
Fix #43
For non-elevated users, search for the config file in this order:
For elevated users, the order is:
Signed-off-by: Rafael Kitover rkitover@gmail.com