diff --git a/.zshrc b/.zshrc
index 26b5aa4..d7a6e85 100755
--- a/.zshrc
+++ b/.zshrc
@@ -34,6 +34,9 @@ zstyle ':vcs_info:hg*' formats "%{${fg[cyan]}%}[%{${fg[green]}%}%s%{${fg[cyan]}%
 zstyle ':vcs_info:svn*' formats "%{${fg[cyan]}%}[%{${fg[green]}%}%s%{${fg[cyan]}%}][%{${fg[blue]}%}%b%{${fg[yellow]}%}%m%u%c%{${fg[cyan]}%}]%{$reset_color%}"
 
 case $TERM in
+  xterm-*)
+    export TERM=xterm-256color
+    ;;
   tmux-256color)
     export TERM=xterm-256color
     ;;
@@ -224,4 +227,4 @@ if [ -d "$HOME/.config/scriptrc" ]; then
 	done
 fi
 
-export STM32_PRG_PATH=/Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin
\ No newline at end of file
+export STM32_PRG_PATH=/Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin