Answer the question
In order to leave comments, you need to log in
How to specify start commands for VS Code terminal?
How to specify initial commands for terminal? For example, I want the cls command to be automatically executed when opening a new terminal window
Answer the question
In order to leave comments, you need to log in
If it is Windows and powershell, then you can add the appropriate commands to the user's powershell profile.
This is a simple powershell file where you can add any commands.
For example like this:
if (!(Test-Path -Path $PROFILE)){ New-Item -Path $PROFILE -ItemType File }
"cls" > $PROFILE
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question