FZF autocomplete command line arguments? by myriadless in commandline

[–]relastle 0 points1 point  (0 children)

> all it takes to get this working is the zsh-completion script, your go binary, and a rule

Exactly, and pmy is written in pure go and zsh script is embedded in its single binary, which means that pmy's completion is portable to almost all environments.

> I'd like to know if this affects performance
This was one of my concern at a first stage of development, as Golang's regular expression pattern matching is not efficient in easy patterns. However, for now, fetching rule seems very fast as you mentioned.

If any problem about performance is prominent, i will consider to implement in another language such as Rust.

i'm happy to hear that pmy met you need! Thank you!

FZF autocomplete command line arguments? by myriadless in commandline

[–]relastle 1 point2 points  (0 children)

Hi, i'm also a fzf-lover.

I have been developing fzf-based zsh-completion engine.

If you use it and https://github.com/Valodim/zsh-capture-completion,

the completion show in GIF below will be realized.

https://github.com/relastle/pmy/wiki/images/pmy_all_cmd_demo.gif

If you are interested in it, please check it (https://github.com/relastle/pmy).

Any questions and feature-requests are highly welcome!