mate-desktop / mate-terminal

The MATE Terminal Emulator
http://www.mate-desktop.org
GNU General Public License v3.0
134 stars 73 forks source link

add history to mate terminal #261

Open netpipe opened 5 years ago

netpipe commented 5 years ago

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

mixmastamyk commented 4 years ago

Sounds like a feature for a shell, no?

b4n commented 4 years ago

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).

netpipe commented 4 years ago

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.

mixmastamyk commented 4 years ago

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.