zsh-autosuggestions
zsh-autosuggestions copied to clipboard
Issue with tab completion
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?
This seems to be an interaction with the agnoster theme. Has anyone found a solution for this?
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
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