SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi, all. There are bash completion scripts for various slackware related tools -- pkgtools, rpm2tgz, sbopkg, slackpkg, slapt-get / slapt-src. All this completions are more or less tested, but some bugs can still remain as I don't actually use all listed tools. Please grab package here and test it thoroughly: bash-completion-1.3-noarch-2ga.txz. Feel free to report any concerns in this thread or on github.
Note: sbopkg completion script now included to sbopkg package.
_GArik_'s is, IIUC, a full bash-completion setup which has been forked from the alioth completion project to provide the additional Slackware completions. What's provided in sbopkg (or, rather, will be some sunny day in the far future when Slackware/SBo open their new stable branches and a new sbopkg can be released to go with them) was split off from _GArik_'s by Sergey V. so that it's a stand-alone completion file. (IOW, you don't need to install anything not included in a stock Slackware for all files in sbopkg to work.) Which you use is entirely up to you (depending on whether you want to add the full completion package or use something more app-specfic), but they're different.
Are the versions of the pkgtool, slapt-get, sbopkg, and slackpkg completion stubs different than the ones we put in the /usr/doc/bash-completion-1.3/contrib/ directory?
Regardless of the answer to that, I think I better idea is to provide *only* the changed completion files, and instruct potential testers to place them in /etc/bash_completion.d/, and then do ". /etc/bash_completion" to load the new/updated completions (or log out and back in again).
Please send your completion files upstream for inclusion in next release if you haven't already. That way everyone can benefit from them.
I'll send it, when it tested.
Sorry, but these contrib scripts have been causing a lot of problems. If these are merged with upstream (and hopefully debugged) then we will have them, but adding them at this level is IMHO a mistake.
I don't actually see any problems with these completions and I need feedback and testing from people who has some concerns about completions. So test completions if you are interested in it.
Very nice; thanks. As far as I know, that was the only problem we had that could be linked to your changes. The other major one was completion on /bin/sh, but it was a problem in upstream bash-completion and we patched it.
Ok, guys. I have updated completions to match recent changes in master branch. Here is updated package for testing: bash-completion-20110429-noarch-1ga.txz. If no issues reported in two days, I'll make pull-request.
! Please note that only bash >= 4.1 is supported now !