vscode: terminal.integrated.shellIntegration.decorationsEnabled does not disable decorations

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.69.0
  • OS Version: Fedora 36 through Remote-SSH on Windows 10

Steps to Reproduce:

  1. Set terminal.integrated.shellIntegration.decorationsEnabled to false
  2. Notice the sidebar decorations don’t go away

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 21 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@meganrogge how about: decorationsEnabled: 'both' | 'gutter' | 'overviewRuler' | 'never'

I stumbled over the same issue, thanks for working on it. @meganrogge

The video in your PR #154430 shows that the decorations on the right are still visible, can they also be disabled?

To clarify, the tooltip uses '' instead of "", which is not valid JSON and could trip somebody up. Setting the individual settings to an empty string does indeed work.

@Tyriar hadn’t really given that much thought to be honest. I was really just thinking keep my solid white circle at all times and remove the VSCode provided circular decorations since I have $? as part of my prompt already.

That TERM_PROGRAM env var is good to know though.

To clarify, the solid white circle is part of my prompt. My PS1 is generated by me in my .bashrc.

[0 0 18:47:58] [tpartin@campise] [hse] [tristan957/rest=]
● $ echo $PS1
\[\]\[\][$? \j \t] \[\][\u@\H] \[\][\W]$(__git_ps1 " \[$(tput setaf 39)\][%s]")$(__prompt_extras)\[\]\n\[\]● $ \[\]\[\]