From cfdd4dbab72cdc18b64e95551e35bc1da8b11d60 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 26 Nov 2016 02:52:48 +0100 Subject: Add example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dlu.py | 1 + 1 file changed, 1 insertion(+) (limited to 'dlu.py') 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') -- cgit v1.2.3-70-g09d2