Remnant characters when tab completing with ZSH

后端 未结 6 515
终归单人心
终归单人心 2021-01-30 17:09

I\'m using oh-my-zsh in Arch linux with the robbyrussell theme loaded. When I try to tab complete I end up with remnant characters appended to the prompt. If I delete the auto-c

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 17:57

    It seems I had issues with locale configuration and non UTF8 configuration

    In my case the fix was:

    export LC_ALL="en_US.UTF-8"
    

    and keep it permanent adding the line to .zshrc:

    echo "export LC_ALL=en_US.UTF-8" >> .zshrc
    

    More info in Ubuntu doc https://help.ubuntu.com/community/Locale

提交回复
热议问题