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

[docs] zsh completion instructions #403

Open
lonix1 opened this issue Sep 29, 2024 · 0 comments
Open

[docs] zsh completion instructions #403

lonix1 opened this issue Sep 29, 2024 · 0 comments

Comments

@lonix1
Copy link

lonix1 commented Sep 29, 2024

I want to enable zsh completions. (I'm using oh-my-zsh on ubuntu.)

The docs explain how to do so for bash, not zsh.

My completions for restic itself work, so I tried to do something similar to that:

resticprofile generate --zsh-completion | sudo tee /usr/local/share/zsh/etc/site-functions/resticprofile
sudo chmod +x /usr/local/share/zsh/site-functions/resticprofile

But that doesn't work.

How does one do this?

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

1 participant