nyxnor
June 14, 2024, 12:00pm
162
nurmagoz:
in current zsh configs that differ from bash if user want to use --purge he cant use it directly but instead he need to put it this way “–purge”
cant this be fixed in zsh? or is there a certain benefit out of this?
Can you show the full command?
Maybe it is the same as in:
opened 10:45PM - 30 Nov 09 UTC
closed 06:48AM - 02 Dec 09 UTC
Well, this is a real weird issue, and there might not be a solution to it.
Our … VCS at work uses the parameter `-?` to get help.
But when in `zsh` when I type:
vcsapp -?
I get the error:
zsh: no matches found: -?
I know `zsh` interprets the `?` as a wildcard, which is good. But this one time it isn't.
1 Like
e.g:
sudo apt update && sudo apt autoremove --purge
1 Like
Patrick
August 16, 2024, 2:52pm
167
bash:
sudo apt autoremove --p
Then press the tab key.
shows:
–print-uris --purge
zsh:
sudo apt autoremove --p
Then press the tab key.
Actual result: Nothing.
Expected result: Suggest to auto complete to --print-uris
or --purge
.
So if that is the bug, then I can reproduce it.
Zsh auto completion is implemented in different source code files than bash completion. In case of zsh and apt it is based on file /usr/share/zsh/functions/Completion/Debian/_apt
. Maybe a missing feature in that file?
nyxnor
August 16, 2024, 2:55pm
168
This I can reproduce and would be something missing in the Zsh completion of _apt.
1 Like
Patrick
August 16, 2024, 3:11pm
169
Then this is probably reproducible on Debian and would need to be reported against Debian.
Kicksecure:master
← nyxnor:zsh-bracketed-speed
opened 02:53PM - 16 Aug 24 UTC
This pull request changes...
## Changes
Clear auto suggestions when bracke… ted paste is run
## Mandatory Checklist
- [x] Legal agreements accepted. By contributing to this organisation, you acknowledge you have read, understood, and agree to be bound by these these agreements:
[Terms of Service](https://www.kicksecure.com/wiki/Terms_of_Service), [Privacy Policy](https://www.kicksecure.com/wiki/Privacy_Policy), [Cookie Policy](https://www.kicksecure.com/wiki/Cookie_Policy), [E-Sign Consent](https://www.kicksecure.com/wiki/E-Sign_Consent), [DMCA](https://www.kicksecure.com/wiki/DMCA), [Imprint](https://www.kicksecure.com/wiki/Imprint)
## Optional Checklist
The following items are optional but might be requested in certain cases.
- [x] I have tested it locally
- [x] I have reviewed and updated any documentation if relevant
- [x] I am providing new code and test(s) for it
Fixes #
https://forums.whonix.org/t/why-does-xfce-terminal-paste-commands-1-character-at-a-time/20227