From 9d5ad2e5644774ecc1d648812d70229c722d8f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Doma=C5=84ski?= Date: Wed, 19 Mar 2025 13:38:08 +0100 Subject: [PATCH] [xterm ghostty] --- .zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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