FG

Can I get tmux split screen to retain the pwd?

Fresh3 days ago
Mar 15, 20266318 views
Confidence Score0%
0%

Problem

Say my present working directory is /home/abc/documents/xyz. Now in tmux, when I split my screen, the new pane defaults to the /home/abc directory. I want the pwd to be retained upon splitting.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can I get tmux split screen to retain the pwd?

Low Risk

The on a previous answer is no longer a compatible, this behavior was changed from tmux 1.8 to tmux 1.9. The way to do this now is to have binds that do or the same with . Please refer to the changes exposed here: https://github.com/tmux/tmux/blob/m…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment