From b56360cf0cf09702dbb39ffd68aee60f1d3c2944 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 23 Sep 2013 11:01:46 +0200 Subject: rcfile works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.py b/src/common.py index 951e9ab..51549c8 100644 --- a/src/common.py +++ b/src/common.py @@ -128,6 +128,6 @@ for file in ('$XDG_CONFIG_HOME/%/%rc', '$HOME/.config/%/%rc', '$HOME/.%rc', '/et code = rcfile.read().decode('utf8', 'replace') + '\n' env = os.environ code = compile(code, file, 'exec') - exec(code, globals()) # TODO do the globals need to be set explicitly? + exec(code, globals()) break -- cgit v1.2.3-70-g09d2