zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.1k stars 1.86k forks source link

First letter of mv and cp commands deduplicates when pressing TAB or space bar #793

Closed faxotherapy closed 3 months ago

faxotherapy commented 3 months ago

Describe the bug

Typing mv will produce mmv after pressing TAB or space bar. It also happens with cp command

To Reproduce

Steps to reproduce the behavior:

  1. Type mv
  2. Press space bar or TAB

Result: first command letter deduplicates.

Expected behavior

First command letter should not deduplicates.

Desktop

Additional context

Installed using: brew install zsh-autosuggestions

It used to work properly. Suddenly, it stops working correctly.

faxotherapy commented 3 months ago

Solved! I had to remove all lines containing emojis in my .zsh_history file.