From cb315e12a047ba60fc32164bfc071bd858b60e39 Mon Sep 17 00:00:00 2001 From: TanShaochang <30321432+petertheprocess@users.noreply.github.com> Date: Mon, 30 Sep 2024 20:55:59 +0200 Subject: [PATCH] allow user pass their own TERM env, allow right color showing for zsh-autosuggestion. (#30) --- zsh-in-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-in-docker.sh b/zsh-in-docker.sh index c022b9a..10a882c 100755 --- a/zsh-in-docker.sh +++ b/zsh-in-docker.sh @@ -121,7 +121,7 @@ zshrc_template() { export LANG='en_US.UTF-8' export LANGUAGE='en_US:en' export LC_ALL='en_US.UTF-8' -export TERM=xterm +[ -z "$TERM" ] && export TERM=xterm ##### Zsh/Oh-my-Zsh Configuration export ZSH="$_HOME/.oh-my-zsh"