Fix cwd when new term spawned from a symlinked directory
This commit is contained in:
parent
7f071e0d7e
commit
9bd8b5ea09
|
@ -1394,6 +1394,7 @@ class Terminal(Gtk.VBox):
|
||||||
envv = []
|
envv = []
|
||||||
envv.append('TERM=%s' % self.config['term'])
|
envv.append('TERM=%s' % self.config['term'])
|
||||||
envv.append('COLORTERM=%s' % self.config['colorterm'])
|
envv.append('COLORTERM=%s' % self.config['colorterm'])
|
||||||
|
envv.append('PWD=%s' % self.cwd)
|
||||||
envv.append('TERMINATOR_UUID=%s' % self.uuid.urn)
|
envv.append('TERMINATOR_UUID=%s' % self.uuid.urn)
|
||||||
if self.terminator.dbus_name:
|
if self.terminator.dbus_name:
|
||||||
envv.append('TERMINATOR_DBUS_NAME=%s' % self.terminator.dbus_name)
|
envv.append('TERMINATOR_DBUS_NAME=%s' % self.terminator.dbus_name)
|
||||||
|
|
Loading…
Reference in New Issue