Because I work on multiple projects in different languages I am constantly flicking back and forth between vscode sessions and using terminals to run commands
This can be annoying after restarts because you either lose your history and cant find what you want or they get all mushed together so you get php and perl and whatever else you are working on in your bash? history
for example I am bulding a laravel app and am constantly calling artisan ... something command and often scroll up the history to get the exact command I previously used. but after restarts I can lose that and have a whole bunch of perl commands from another terminal session.
To improve this situation I have added a configuration to the settings json to run on the remote session each time the terminal is started up This comes courtesy of this stackoverflow question
https://stackoverflow.com/questions/45635168/vscode-how-to-run-a-command-after-each-terminal-open