zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

Issue with tab completion

Open MZauchner opened this issue 2 years ago • 1 comments

Describe the bug

When triggering autocompletion with tab, the input text does not get cleared and also cannot be deleted. Hard to explain, but here is a screenshot attached. The text typed before triggering tab completion was "spec". When cycling through suggestions with tab, the text "spec" remains at the beginning followed by the suggestion. "spec" in this case cannot be deleted with backspace and only disappears when the terminal window is resized. The only other plugin I am using is the syntax highlighting plugin. Any idea what could cause this? report

This seems to be an interaction with the agnoster theme. Has anyone found a solution for this?

MZauchner avatar Apr 12 '22 06:04 MZauchner

this bug can be fixed my putting this in your ~/.zshrc

"export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8"

original post -https://github.com/ohmyzsh/ohmyzsh/issues/1905

Devarth123 avatar May 12 '22 08:05 Devarth123

this bug can be fixed my putting this in your ~/.zshrc

"export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8"

original post -ohmyzsh/ohmyzsh#1905

same issue on windows11, but it doesn't work . I've tried other languages as well, but it doesn't work. and my .zshrc config flow:


export ZSH="$HOME/.oh-my-zsh"  
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

ZSH_THEME="robbyrussell"
 plugins=(git  
          zsh-syntax-highlighting
zsh-autosuggestions
	 )

source $zsh/oh-my-zsh.sh

how do i do that ... When I type some characters and then use Tab after the line jumps and can't be deleted image

Contentsearch avatar Nov 30 '23 13:11 Contentsearch