X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ax-zsh.git;a=blobdiff_plain;f=core%2F11_terminal%2F11_terminal.zshrc;h=5e2306694fed1f45a6086fb3898cff0f72b41d6c;hp=2da958b1e7feb4a5db589cf8d701bb3f9bb4fda4;hb=602d2931b1cd78bbfb75a4e1fd8de7e6a8553689;hpb=0acee783038cd38d42ab1fa1f853bef3faecd463 diff --git a/core/11_terminal/11_terminal.zshrc b/core/11_terminal/11_terminal.zshrc index 2da958b..5e23066 100644 --- a/core/11_terminal/11_terminal.zshrc +++ b/core/11_terminal/11_terminal.zshrc @@ -139,8 +139,13 @@ axzsh_is_dumb_terminal && return 0 autoload -Uz colors colors -fg[default]="\e[39m" -bg[default]="\e[49m" +if axzsh_is_modern_terminal; then + fg[default]="\e[39m" + bg[default]="\e[49m" +else + fg[default]="\e[37m" + bg[default]="\e[47m" +fi # Foreground (FG) and background (BG) colors. typeset -Ag FG BG