-
Notifications
You must be signed in to change notification settings - Fork 54
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
feature request: keep current directory when opening a new tab #13
Comments
You might want to check a hack made by me. It depends on your window title are in the form of ".*:'". You can do this by setting some shell varaibles export PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"' It's a very dirty hack, but it works. The link: PS: I failed in figuring out a better way to get the current shell's working directory. Any suggestions are welcome. |
+1 on this. I would like to have an option in .Xresources to do this. |
+1 |
1 similar comment
+1 |
A fork of urxvt-tabbedex linked to in this article incorporates @carltonf's suggestions. I incorporated https://github.com/atweiden/urxvt-tabbedex/tree/critabs I hope it helps someone come up with a better solution. See also: https://github.com/atweiden/urxvt-cwd-spawn (not working on bash at least) |
https://github.com/mina86/urxvt-tabbedex/tree/experimental has this feature implemented. As name suggests, it’s experimental so no guarantees on whether it actually works. There’s also no configuration of this feature as of now. |
Thanks for this useful extension. I'm using it a lot. Though I miss one feature : When I open a new tab, I would like to be in the same directory than in the current tab rather than in the home directory (It could be an optional behavior with a parameter in .Xressources). I would be glad if this feature gets implemented.
The text was updated successfully, but these errors were encountered: