ZSH autocomplete issues in containers

When I use ZSH with a custom theme or with starship in a container, sometimes completion is broken: I type some characters (let’s say ts ) then TAB for autocompletion and I’ll get the characters I typed and then the completion (in my example, tstsc for tsc ). This doesn …