I split my terminal so I have two prompts open (specifically kitty) I resize one of them so one is large where I use my file browser (ranger) and run commands in the smaller one.
My goal is to have the working directory in sync between these two splits, that is, if I change directory in one of them, the other also changes directory.
I asked on IRC and they said that the two shells are completely independent processes and that I would have to write a complicated program to get this to work.
Could someone outline what I would need to learn to make a program like this?