I'm looking for a way to have list of all files/folders of the current directory in my terminal that updates automatically and runs while I'm actively navigating and editing files.
I imagine it to be somehow possible with a terminal multiplexer. But I don't know how you could notify another process about the change in the current process.
If I run
watch ls -a in one split-view, it will only update when files in that same directory change, not when the directory of my other split-view changes.
How could this be accomplished?