Skip to content

Commit cb315e1

Browse files
allow user pass their own TERM env, allow right color showing for zsh-autosuggestion. (#30)
1 parent 5ee624b commit cb315e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zsh-in-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ zshrc_template() {
121121
export LANG='en_US.UTF-8'
122122
export LANGUAGE='en_US:en'
123123
export LC_ALL='en_US.UTF-8'
124-
export TERM=xterm
124+
[ -z "$TERM" ] && export TERM=xterm
125125
126126
##### Zsh/Oh-my-Zsh Configuration
127127
export ZSH="$_HOME/.oh-my-zsh"

0 commit comments

Comments
 (0)