2021/10/28
That you can detect the terminal you’re running in (including vscode) by checking the value of "${TERM_PROGRAM:-}".
The VS Code integrated termial always has a $TERM_PROGRAM of vscode.
That you can detect the terminal you’re running in (including vscode) by checking the value of "${TERM_PROGRAM:-}".
The VS Code integrated termial always has a $TERM_PROGRAM of vscode.