Open netpipe opened 5 years ago
Sounds like a feature for a shell, no?
Indeed that should go in the shell, not the terminal emulator (which probably couldn't really do it at all, as the current directory in the shell is a shell state, nothing the emulator has control over).
all it needs is the the bash history of the current working directory. with your up arrows you can resume old work whereever you roam.
The Fish shell does one part of this, per folder history.
The terminal just sends keystrokes to the child's stdin and displays stdout received. It doesn't know about such things. That separation is a good design. Otherwise, you might end up with Windows horrendous legacy console which is coupled together.
would be nice to have a hidden file .hist or .bash file export option in settings for the folder it was launched in. incase you wont be coming back to it for a while