Skip to content

Why set the env 'TERM=xterm' #13

@chenjunnn

Description

@chenjunnn

I am using vscode built-in terminal, and when I use this script to create a container, I found the zsh-auto-suggestion is not working properly as the color of the suggestion is wrong:

  • Expected:
    image

  • Actually:
    image

Then I found it was caused by the env TERM was set to xterm.
So I remove the export TERM=xterm, then echo $TERM to find that it is xterm-256color originally.
I wonder why the env 'TERM=xterm' would be set and if there should be an option to disable it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions