Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should tarsnap's zsh completion script be here or there? #845

Open
cperciva opened this issue Feb 12, 2022 · 4 comments
Open

should tarsnap's zsh completion script be here or there? #845

cperciva opened this issue Feb 12, 2022 · 4 comments

Comments

@cperciva
Copy link

Tarsnap now ships with a zsh completion script, and we now have tooling to make sure that it stays up to date with new options. Is there any reason to have a completion script for tarsnap here, or should we remove it from here and only ship it with tarsnap?

@syohex
Copy link
Contributor

syohex commented Feb 13, 2022

Is there any reason to have a completion script for tarsnap here

Because zsh-completions had it before tarsnap supports

I suppose it should be removed in the future. However it looks packages, like deb package, homebrew package etc, have not contained the zsh completion file yet. So some people may have problems if we remove tarsnap completion file from zsh-completions. I suppose if those packages contains the zsh completion file as well as bash completion file, then it can be removed from here.

@cperciva
Copy link
Author

Well... there's a chicken-and-egg problem here. I'd like to enable zsh completion in the FreeBSD tarsnap package... but I can't as long as the zsh-completion package has a tarsnap zsh completion script, because otherwise the two packages will conflict.

@syohex syohex mentioned this issue Feb 13, 2022
6 tasks
@syohex
Copy link
Contributor

syohex commented Feb 13, 2022

Do you have any package(deb, homebrew etc) updating plans that make those tarsnap packages contain the zsh completion file ? If so, we'll remove _tarsnap from here(#846)

@cperciva
Copy link
Author

On second thought, maybe I should talk to the maintainer of the FreeBSD zsh-completion package and just have them omit this file from installation there... that way we could keep it here until new packages are available everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants