New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fish doesn't notify gnome terminal / vte of current directory #906
Comments
Here's a workaround I've added to my own config.fish. The perl stuff is ugly, but I couldn't find a quicker way of urlencoding a string - perhaps there's already something built into fish that can do it?
|
The workaround, while works, it's also wrong (to implement in the shell itself, that is). I'm even going to ignore I would rather see a solution that wouldn't run unneeded processes every time the path is changed, considering path changes are rather common. But, I'm not sure whatever it's even possible. At least, thanks for noting that it's easy to detect |
Yeah, I am assuming (hoping?) that fish internals have access to a URL encoding function somewhere - I wasn't actually suggesting adding perl as a dependency. This would also cut out the subprocess (assuming It's checking for >= 0.34.5 (it uses |
Oh, sorry, I was confused. Of course, there is always an option of making internal builtin, but... I'm not sure if I like it. |
Fixed by #973. Closing. |
Doesn't seem to work anymore. |
I filed #1814 to track the investigation. strelec, please share any information you have there. |
Fedora 19 includes the latest gnome-terminal, which (when using fish as your shell) no longer opens new tabs in the same
cwd
as the current tab.This seems to be due to this change in
vte
: https://bugzilla.gnome.org/show_bug.cgi?id=675987Fedora 19 includes a
/etc/profile.d/vte.sh
for bash / zsh, which does:as part of PS1.
I tried (in fish) manually running:
Which does cause the next window to open in ~/dev/python, so it should just be a matter of adding something similar to fish when it's running under vte.
For reference, the script distributed with fedora adds these hooks if
$VTE_VERSION
is present and greater or equal to "3405".The text was updated successfully, but these errors were encountered: