How do I set $TERM permanently in fish shell?
set -gx TERM screen-256color-bce;
I had the exact same problem as you. replace the "l" with "g" as g means global.
You can set it from the terminal using
set -Ux TERM screen-256color-bce
You don't need to put it in your config file this way.
-
-U
if for Universal -
-g
is for Global -
-x
if for eXport