Repository navigation
Notify vte of $PWD change - #973
timbertson wants to merge 2 commits into
Conversation
|
Thanks for creating this patch! It fixes the new tab issue on Fedora 19. |
|
Confirmed to work on gnome-terminal in Arch Linux (Cinnamon on Arch Linux is one of platforms I use, and lack of this feature annoys me). It feels like some sort of hax for me (mostly because of |
|
This isn't right: There's a missing semicolon after begin. That means that "set -q VTE_VERSION" are just parameters to begin, which are ignored. The rest of the command then gets broken in interesting ways. This can be written more simply as: which will do the right thing if VTE_VERSION is not set. Also, pwd can be replaced with $PWD, which is faster (though probably lost in the noise from sed) |
|
@ridiculousfish: Isn't Anyway, this is what I get for not testing it. I'm surprised that Edit: Actually, now that I check, it seems that |
|
My mistake, pwd is builtin, so using it is fine. Arguments to begin are indeed weird. I agree that it should be an error. I'll make a new issue. Incidentally I'm not sure testing would have caught this. On systems without VTE_VERSION defined, the test command still fails as desired, but due to a parse error. |
|
Sorry about that, and thanks for catching - I did test on a non-vte |
|
Looks like GlitchMr fixed this as fe10f98 |
Fix fox #906.