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
New terminal tabs do not retain current directory (linux/ubuntu) #2887
Comments
There's a bug in From StackExchange:
We could probably add this somewhere, as a plugin or in a lib file. Please confirm that it works for you (it does for me on debian). [1] https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1132700 |
@fearphage any news? |
Hey @fearphage, here's what I put in my zshrc to fix: # Open new tab in current directory
[[ -f /etc/profile.d/vte.sh ]] && . /etc/profile.d/vte.sh It looks though as this will be fixed in Ubuntu 15.04, it couldn't make it into 14.10 unfortunately. What's sure is that this is not oh-my-zsh's fault. Please close this issue |
Thanks for the time and effort. I apologize for the delayed response. Yes, that fixed it. |
I am using |
Issue is still there in Ubuntu 18.04 LTS |
The solution is above. |
None of these worked for me |
I've been using that solution for 4 years now and I'm also on Ubuntu 18.04 currently. Have you tried moving that line earlier or later in your |
Are there any vte files in |
@fearphage The only thing I didn't try was moving the line. I put it in the end |
You seem to have the file, I assume you're using gnome-terminal? If so, maybe there's a bug in there? What are the contents of |
I'm sorry for the noise. It is working indeed. I had a |
No worries |
Steps to repro
cd ~/Downloads
)ctrl-T
)Expected Results
New tab is opened from current directory (
~/Downloads
).Actual Results
New tab opens in home directory (
~
).This affects all directories (git and otherwise). I'm using Ubuntu 14.04 although I saw similar behavior in 13.10.
Related to #1489, #1527, #2646. I've checked these issues, but all they all seem to be OS X specific.
The text was updated successfully, but these errors were encountered: