Skip to content

Set default-terminal and terminal-overrides to $TERM #72

@realguse

Description

@realguse

Sensible should set the default-terminal and terminal-overrides to the $TERM environment variable.

The reason for this is that it is not recommended to change the $TERM variable, it is your terminal emulator that assigns it. For example, if you use kitty, it is xterm-kitty, and for alacritty it would be alacritty.

This is what sensible should set as the default:

set -g default-terminal "$TERM"
set -g terminal-overrides ",$TERM:Tc"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions