diff --git a/share/config.fish b/share/config.fish index 01cf84a35..902719378 100644 --- a/share/config.fish +++ b/share/config.fish @@ -34,7 +34,10 @@ if status --is-interactive # Remove this code when we've made it safer to upgrade fish. else # Enable truecolor/24-bit support for select terminals - if not set -q NVIM_LISTEN_ADDRESS # (Neovim will swallow the 24bit sequences, rendering text white) + # Ignore Neovim (in 0.1.4 at least), Screen and emacs' ansi-term as they swallow the sequences, rendering the text white. + if not set -q NVIM_LISTEN_ADDRESS + and not set -q STY + and not string match -q -- 'eterm*' $TERM and begin set -q KONSOLE_PROFILE_NAME # KDE's konsole or string match -q -- "*:*" $ITERM_SESSION_ID # Supporting versions of iTerm2 will include a colon here