Description of problem: Utility scl is called on a regular basis and it is annoying to write everything by hand every time. Expected results: Bash completion should complete available scriptlets and collections automatically.
Created attachment 613999 [details] Proposed patch Also Patch added :)
Hi Miroslav, thanks for the autocompletion script! Just a few points I noticed while using it for autocompletion: $ scl -l example example123 $ scl enable <tab> expands to: $ scl enable example123- which doesn't seem to be correct. The correct result should be: $ scl enable example turning to: $ scl enable example123 after the next tab. Could you please fix the completition script so that I can apply it upstream? Thanks!
Ok, consulted that with Miroslav and did minor modifications. It is now comitted to upstream.
Created attachment 615376 [details] Proposed patch v1.1 Nev version: Searching for collections in /etc/scl/prefixes now as proposed. Only installed collections should be listed this way.