|
Bugzilla – Full Text Bug Listing |
| Summary: | bash completion for yast2 | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Stefan Sauer <ensonic> |
| Component: | YaST2 | Assignee: | E-mail List <bnc-team-screening> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | simple bash completion for yast2 | ||
|
Description
Stefan Sauer
2005-12-29 19:26:30 UTC
Created attachment 61813 [details]
simple bash completion for yast2
please note that this is my first bash completion hook, so feel free to apply any changes.
to try it, copy the file to /etc/bash_completion.d/yast.sh ot just source it. then type 'yast2 <tab>'
Good idea!
Possible enhancements:
* display -i option also. To do so, change the last line to
complete -W '-i' -F _yast2 yast2
* display possible parameters for yast (without "2") also:
complete -W '-i' -F _yast2 yast
This should do to /etc/bash_completion.d/yast.sh or /etc/profile.d/yast.sh there is already something in factory: d159:/tmp # rpm -qp --changelog yast2-2.13.16-2.i586.rpm * Tue Dec 20 2005 - visnov@suse.cz - Include bash completion script - 2.13.16 |