tadfisher / pass-otp

A pass extension for managing one-time-password (OTP) tokens
GNU General Public License v3.0
1.28k stars 85 forks source link

Fish completion #118

Open beeaniebee opened 4 years ago

beeaniebee commented 4 years ago

Just wondering if there's any way that fish shell completion could be implemented? It would really help a lot!

roddhjav commented 4 years ago

pass does not support fish shell completion for extension (yet). So the support should be implemented in pass first.

beeaniebee commented 4 years ago

No? Fish shell completion is working fine in pass.. it's in src/completion/fish_shell.completion in the source code iirc

roddhjav commented 4 years ago

Yes, but this completion file is not able to check for extension completion file and run them as the bash completion file does.

beeaniebee commented 4 years ago

Ok.. I don't exactly understand all of that but ok

harmtemolder commented 2 years ago

I've found a way to source the original pass completions and add the ones for pass otp. Working on getting that production-ready in pull request #151