Remnant characters when tab completing with ZSH

后端 未结 6 464
终归单人心
终归单人心 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:43

    I had the same problem, so on my quest for a solution I have encountered this article: https://wiki.archlinux.org/index.php/Locale

    And, as it was suggested, to enable some locale system-wide, you just need uncomment the desired locale on /etc/locale.gen, for example, in my case:

    en_US.UTF-8 UTF-8
    

    After saving the changes on the file, execute (as root) on command line:

    locale-gen
    

    Reboot, and it works! (at least for me)

提交回复
热议问题