aboutsummaryrefslogtreecommitdiffstats
path: root/dlu.py
diff options
context:
space:
mode:
Diffstat (limited to 'dlu.py')
-rwxr-xr-xdlu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dlu.py b/dlu.py
index ddbcc32..8783e7d 100755
--- a/dlu.py
+++ b/dlu.py
@@ -61,6 +61,7 @@ for key in l:
g[key] = l[key]
# Possible auto-selected configuration scripts,
# earlier ones have precedence, we can only select one.
+config_file = None
for file in ('$XDG_CONFIG_HOME/%/%rc', '$HOME/.config/%/%rc', '$HOME/.%rc', '$~/.config/%/%rc', '$~/.%rc', '/etc/%rc'):
# Expand short-hands
file = file.replace('/', os.sep).replace('%', 'dlu')