3 ms·
I find this can be a bit messy because VS code runs lots of commands in the background that pollute the history with extremely verbose commands.
by calmoo 3y ago
I find this can be a bit messy because VS code runs lots of commands in the background that pollute the history with extremely verbose commands.
- deleted 3y ago[deleted]
- wruza 3y agoWhy does it run them in interactive shells? Not surpising given it’s Microsoft, but still worth reporting an issue.
- hnlmorg 3y agoI can’t speak for VSC specifically (I don’t like their terminal emulator so don’t have enough experience using it) but I do know some other applications “paste” (for want a better word) commands into the script interactive shell because they purpose of the shell being open is to provide a REPL and the GUI application just provides a few useful graphical hooks to it. Regarding the history problem, there’s likely a flag VSC can pass to Zsh to disable writing to history for that session. Edit: looks like there are several ways: https://unix.stackexchange.com/questions/692913/temporarily-disable-history-in-zsh https://unix.stackexchange.com/questions/692913/temporarily-...