pane_current_path, I’m on tmux version 2.1 and it looks like this may be deprecated? Adding the
-c flag with
pane_current_path doesn’t seem to do anything for me.
I did some digging and found people proposing this solution as recently as last year but then I came across this question on Unix & Linux Stack Exchange where one of the responders mentions
pane_current_path but then writes that “there are [sic] an upstream commit removing it from the manpage so it might not be available in the future.”
Do you know if this was added in 1.9 and then removed again?? I also tried the suggested “pre-1.9 solution” from another responder on the same question above (setting and resetting
default-path) but that doesn’t seem to be working for me either.
After reading some of the
tmux man pages and realizing that not even
splitw -c "/Users/davidpell" was working (my new windows always went to one particular directory instead of my current directory), I realized the problem was that I forgot I had a
cd at the very bottom of my
.zshrc! I guess the shell is being re-initialized in every new window. Once I commented that line out,
pane_current_path worked as laid out here.