Re: screen session remember
aotto <[email protected]> Wed, 13 Mar 2024 22:11:32 +0100
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the answer - this hint I already use. → but I would like to have a "replacement" which is always "up-to-time" On 13.03.24 22:01, Anton Sharonov wrote: > 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