Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

This article contains how to customize the foreground, background and cursor color on VS Code Terminal.

Use different colors schema for each ssh remote helps to recognize them. Or maybe you want to change your local terminal colors.

We need to add/change the workbench setting inside the file settings.json.


For Remote SSH you need to edit the file settings
In my case the user is root, otherwise search the path on /home/YouUser/.vscode-server/data/Machine/settings.json  

nano /root/.vscode-server/data/Machine/settings.json



        "workbench.colorCustomizations": {
        "terminal.foreground": "#043899",
        "terminal.background": "#fafafa"
        "terminalCursor.foreground": "#cc0000"        



You read until here and here a bonus for you. It's not related to Visual Studio Code Terminal but complete the better recognize of a session or just to complete your custom terminal colors.

I am talking about prompt.

Add the following line  on your .bashrc, better at the end so it will override the previous one. 

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '



  • Background Color: Light Gray
  • Foreground Color: Blue 
  • Cursor: Red
  • Prompt: Bold with Host Name Red and Folder Blue

 VSCode Terminal 01


- have fun -


DISQUS - Leave your comments here