Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
3.39k stars 96 forks source link

[BUG] Faulty completion when completing `networkctl` #428

Closed rouven0 closed 7 months ago

rouven0 commented 7 months ago

Describe the bug

When completing systemd-networkd's networkctl command, interface names aren't completed correctly. When choosing a proposed completion, the whole line of completion with all its attributes is pasted instead of just the interface name.

I can make sure:

To Reproduce

Steps to reproduce the behavior:

  1. Type 'networkctl status '
  2. Select an interface while completing
  3. Press Tab
  4. See error

Expected behavior

Only the interface name is completed. Without the extra attributes shown in the completion.

Screenshots

image image

Environment:

Aloxaf commented 7 months ago

duplicate of https://github.com/Aloxaf/fzf-tab/issues/424