Aloxaf / fzf-tab

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

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

Closed rouven0 closed 2 months ago

rouven0 commented 2 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 2 months ago

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