Page MenuHomeFreeBSD

Extend path completion by shell info in porters handbook.
ClosedPublic

Authored by sevan on Aug 12 2018, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 2:17 PM
Unknown Object (File)
Fri, Dec 20, 1:41 AM
Unknown Object (File)
Nov 25 2024, 2:40 PM
Unknown Object (File)
Nov 14 2024, 9:29 PM
Unknown Object (File)
Nov 14 2024, 1:28 AM
Unknown Object (File)
Oct 5 2024, 7:35 PM
Unknown Object (File)
Oct 4 2024, 11:30 PM
Unknown Object (File)
Oct 3 2024, 2:00 AM

Details

Summary

bug 225008 by yuri@
Add Fish example
Add another location used by Bash
Add the filename used by ZSH.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
5835 ↗(On Diff #46605)

If you want to use of, it needs to be written Path of shell completion files or something similar. I would just keep this as it was.

5841 ↗(On Diff #46605)

There should only be one directory here, so that committers do not choose randomly where to put the files.

Looking at the bash_completion code, it looks like etc/bash_completion.d is for legacy scripts, and share/bash-completion/completions is for recent scripts.

5842 ↗(On Diff #46605)

It would be preferable to say something specific, or to not say anything.

Don't reword the title, it was ok to begin with.
Switch bash location from legacy to current path.
Drop superfluous sentence.

This revision is now accepted and ready to land.Aug 14 2018, 10:38 AM

I have been wondering though, PORTNAME seems wrong in there, shouldn't it be command-name instead?

Is there any reason that this should not be committed at this point?

Is there any reason that this should not be committed at this point?

I'm unable to answer Mat's last question.

I'm gonna convert this to AsciiDoc and make the change.
Thanks!