On Wed, Mar 13, 2024 at 08:46:30PM +0100, aotto wrote:
I have a “screen session” with 10 screens and after
rebooting I want each screen (0-9) to start in the same
directory in which it was closed.
Maybe not exactly what you are asking for, but you can
hardcode your shells to curtain path on start using something
like this in your ~/.screenrc:
screen -t 0_vim
screen -t 1_vim_doc
... continue with your number of shells ...
at 0 stuff "cd ~/.vim^j"
at 1 stuff "cd ~/.vim/doc^j"
... etc ...
With best regards, Anton