|
Bugzilla – Full Text Bug Listing |
| Summary: | Context-sensitive completion in bash is evil | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Federico Mena Quintero <federico> |
| Component: | Basesystem | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | RC 4 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | New /etc/profile.d/complete.bash for better unzip support | ||
|
Description
Federico Mena Quintero
2005-10-17 17:55:54 UTC
No it is not. Zip files do have the extension .zip or .ZIP
but not .odp ... if you want to unzip an OpenOffice file do
complete -r unzip
Btw: You may explain this the customers which _wants_ this.
The reason for writing this context-sensitive completion was
only driven by customers.
That's some hard-core shell-using customers ya got there! I'd love to see the feature request for this :) In any case, it would be better to prioritize the completions, and fall back to any filename that matches if no context-sensitive completions are possible. Read from my lips: I've said no. Created attachment 56586 [details]
New /etc/profile.d/complete.bash for better unzip support
Please give this new complete.bash a try. This
version should find any ZIP or EXE for the
unzip command
Reopen for feedback Added expert mode: If ~/.bash.expert is found no completeion at all is sourced but the file ~/.bash.expert See attachment herein No feedback is good feedback |