working dir of newly opened term

Bug #181194 reported by Thomas Meire
4
Affects Status Importance Assigned to Milestone
Terminator
Fix Released
Wishlist
Thomas Meire

Bug Description

In gnome-terminal, when you open a new tab, the terminal gets the same pwd as the currently visible terminal. (So if the current one has ~/Desktop as pwd, the new one will have that too). It would be nice if terminator does this too.

Revision history for this message
Chris Jones (cmsj) wrote :

Hmm, interesting suggestion. Obviously at the moment all child terminals will inherit their working directory from the parent process, which can be quite annoying if you start it somewhere unhelpful. Having said that I think there are situations where inheriting pwd from the previously spawned terminal might be undesirable too.
Perhaps the best thing to do here is to implement it and use it for a while to see how helpful/annoying it is?

Revision history for this message
Thomas Meire (blackskad) wrote : Re: [Bug 181194] Re: working dir of newly opened term

Well, I think inheriting the pwd of the currently focused terminal
might be the least annoying. Imagine you're editing some code in a
certain directory and you want to compile the code from the same
directory, but without closing the editor (I know vim en emacs can do
that without closing, but I'm using nano :p). You just split the
terminal with the editor then, and the new terminal is already in the
same directory as the terminal with the editor.
This solution can be as annoying as any other solution, off course.

Revision history for this message
Chris Jones (cmsj) wrote :

I agree, this is likely to please/annoy just as many people as any other mode of operation, so let's do it.

Changed in terminator:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I'd like this to be implemented

Thomas Meire (blackskad)
Changed in terminator:
assignee: nobody → blackskad
Revision history for this message
Thomas Meire (blackskad) wrote :

Fix commited to trunk, please test :)

Changed in terminator:
status: Triaged → Fix Committed
Revision history for this message
Chris Jones (cmsj) wrote :

Seems to work fine to me, thanks!

Chris Jones (cmsj)
Changed in terminator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.