patchelf icon indicating copy to clipboard operation
patchelf copied to clipboard

fix & feat: enhanced completion for zsh

Open RocketMaDev opened this issue 1 year ago • 1 comments

I fixed zsh completion which is not working properly (like #549), now files can be completed. What's more, I add a feature that when triggering Tab where dependencies should be entered, the dependencies of the elf will pop out. Here's a screenshot:

Typical case

If the elf is the first arg, it works, too:

File is in the front

In any other cases (file is not exist, or is a .so, or is not exist), the match fallback to the default _files match.

Error handling

I tried my best to test all the cases on my machine and it should be right.

RocketMaDev avatar Apr 06 '24 18:04 RocketMaDev

I've tested a lot and everything works. Would there be someone help me merge it in?

RocketMaDev avatar Jul 08 '24 15:07 RocketMaDev