-
Notifications
You must be signed in to change notification settings - Fork 104
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
#176 : Correction of zsh completion #177
base: main
Are you sure you want to change the base?
Conversation
a62cbbd
to
a99c867
Compare
I added another correction for listing cipher.
The result :
|
Hi @Turiok thanks for working to improve the zsh completions, this looks like it could be great. However I haven't been able to get it to work to test it myself before I merge your improvements. Can you describe how you installed/activated the improved completions to test them? I have tried these commands from the documentation you linked, but when I try different completions in my zsh I only get a local file list, or nothing. This is what I have tried, on macOS 14.1.1: zsh --version
# zsh 5.9 (arm-apple-darwin21.3.0)
openssl version
# OpenSSL 3.1.4 24 Oct 2023 (Library: OpenSSL 3.1.4 24 Oct 2023)
# Try to add repository completions file to 'fpath' to load completions
fpath=(~/x/y/z/transcrypt/contrib/zsh $fpath)
# Try to trigger reload/activation of completions in repository
unfunction _transcrypt
autoload -U _transcrypt After what I assume is a successful load of the repository's completions (no errors from transcrypt --cipher=<TAB>
# Nothing
transcrypt --<TAB>
# Nothing
transcrypt <TAB>
# Select from files in current working directory |
Hi @jmurty In my computer, I use zinit to handle my zsh https://github.com/zdharma-continuum/zinit. I tried with a clean zsh and your solution and it didn't work :
Finally I search another solution without zinit and it works if you can try? :
|
1a3c1e8
to
af8e3b6
Compare
I'm new to completion.
I read this https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org to understand ZSH completion.
It seems to work now :
and with the option "--set-openssl-path" it display folder tree for the path.
I'm just not sure why when this option is used, the other can't be?
the other options :
Try to correct #176