author | Mikael Berthe <mikael@lilotux.net> |
Sun, 02 May 2021 13:01:15 +0200 | |
changeset 49 | 06af8cc97cc1 |
parent 48 | 604330c024f4 |
child 50 | 87b60a3c90ae |
--- a/zshrc.d/20-prompt.zrc Sun May 02 12:58:39 2021 +0200 +++ b/zshrc.d/20-prompt.zrc Sun May 02 13:01:15 2021 +0200 @@ -2,11 +2,10 @@ # Enable my Vim-like mode for supported terms -if [[ "$TERM" == "rxvt" || - "$TERM" == "rxvt-256color" || - "$TERM" == "rxvt-unicode" || - "$TERM" == "rxvt-unicode-256color" || - "$TERM" == "xterm-256color" ]] +if [[ "$TERM" == rxvt* || + "$TERM" == xterm* || + "$TERM" == screen* || + "$TERM" == tmux* ]] then export SHOWMODE="on" fi