Conflict between tmux and cygwin

Federico Kircheis federico@kircheis.it
Thu Dec 5 15:00:36 GMT 2024


It seems there is a conflict betwene some tmux functionalities and cygwin.


In tmux it is possible to open a new windows with "tmux new-window -c 
$NEW_WD", the new shell should be located at "$NEW_WD", but it seems not 
to work with cygwin; th new shell is always openeed at ~


I thought I had it working years ago, and assumed it was a tmux specific 
bug on cygwin, as tmux on Linux work as expected, thus I hacked around 
the issue by making aliases and adding cd commands.

Today I found https://github.com/tmux/tmux/issues/3283, and I can 
confirm that the CHERE_INVOKING functionality is causing the issue.

I would like to avoid to change the provided /etc/profile to avoid 
conflicts during upgrades, but I would also like to have tmux work 
correctly out-of-the-box, like on all other platforms.

Is there some way to reach such status?

Best

Federico




More information about the Cygwin mailing list