Fix cwd when new term spawned from a symlinked directory

This commit is contained in:
Stephen Boddy 2015-11-29 20:19:11 +01:00
parent 7f071e0d7e
commit 9bd8b5ea09

View File

@ -1394,6 +1394,7 @@ class Terminal(Gtk.VBox):
envv = []
envv.append('TERM=%s' % self.config['term'])
envv.append('COLORTERM=%s' % self.config['colorterm'])
envv.append('PWD=%s' % self.cwd)
envv.append('TERMINATOR_UUID=%s' % self.uuid.urn)
if self.terminator.dbus_name:
envv.append('TERMINATOR_DBUS_NAME=%s' % self.terminator.dbus_name)