kRHYME7 / Hyde-cli

A HyDE CLI, wrapper, tweaks , workarounds, and more!
https://github.com/prasanthrangan/hyprdots
GNU General Public License v3.0
56 stars 4 forks source link

feat(completions): generate completions using complgen #37

Closed rubiin closed 2 months ago

rubiin commented 2 months ago

closes https://github.com/kRHYME7/Hyde-cli/issues/21

Also included the command on the file itself, maybe we need to generate and source the completions when user installs the Hyde-Cli Also this is a first iteration so few completions maybe buggy

rubiin commented 2 months ago

@kRHYME7 here it is. I locally tested it seems to be working.

kRHYME7 commented 2 months ago

@rubiin Thanks! Will merge this one now.

rubiin commented 2 months ago

@kRHYME7 you may have to implement this generate and source the completions when user installs the Hyde-Cli

kRHYME7 commented 2 months ago

have you tried it on zsh and bash ? Fish works fine.

only works if I manually source it, maybe you got some idea? Here's the makefile https://github.com/kRHYME7/Hyde-cli/blob/d3fdceb38567b60d04de4d0a31175c11f4610264/Makefile#L67C1-L69C96

Really grateful to have this feature now

rubiin commented 2 months ago

i tried on zsh. works fine

kRHYME7 commented 2 months ago

Can you update hyde-cli then try it again?

rubiin commented 2 months ago

sure thing. WIll do after my another PR merge