From 78e8aa42ae6dda1d68dfeed1f6102cd596a8043e Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sat, 29 Mar 2008 01:29:09 +0000 Subject: [PATCH] consistency and likely cross-platform improvement --- terminator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminator b/terminator index 8fd7451e..9263930c 100755 --- a/terminator +++ b/terminator @@ -132,7 +132,7 @@ class TerminatorTerm: self.cwd = cwd or os.getcwd(); if not os.path.exists(self.cwd) or not os.path.isdir(self.cwd): - self.cwd = os.path.expanduser("~") + self.cwd = pwd.getpwuid(os.getuid ())[5] if profile == None: profile = self.gconf_client.get_string (self.defaults['gt_dir'] + '/global/default_profile')