An open API service indexing awesome lists of open source software.

https://github.com/0mp/bash-completion-freebsd

FreeBSD-oriented extension to the Bash completion library
https://github.com/0mp/bash-completion-freebsd

bash bash-completion freebsd

Last synced: 2 months ago
JSON representation

FreeBSD-oriented extension to the Bash completion library

Awesome Lists containing this project

README

        

Bash completion for FreeBSD
===========================

![Latest tag.](https://img.shields.io/github/tag/0mp/bash-completion-freebsd.svg)

Covered software
----------------

Bash completion functions are available for the following utilities

- [make(1)](https://www.freebsd.org/cgi/man.cgi?make) (*work in progress*\)
- [mandoc(1)](https://www.freebsd.org/cgi/man.cgi?mandoc)
- [pkg(8)](https://www.freebsd.org/cgi/man.cgi?pkg) (*work in progress*\)
- [service(8)](https://www.freebsd.org/cgi/man.cgi?service)

Installation
------------

Those additional Bash completion files are installed by default with the [bash-completion port](https://www.freshports.org/shells/bash-completion/):

```console
# pkg instal bash-completion
```

If you're willing to install to install this extension manually then set `DESTDIR` and `PREFIX` to match your configuration and run:

```console
# make install
```

Dependencies
------------

- [bash-completion](https://github.com/scop/bash-completion)

Caveats
-------

Although the [pkg upstream](https://github.com/freebsd/pkg) ships some Bash completion for pkg(8) it does not conflict with our implementation of the pkg(8) completion. The reason is that the upstream completion file is installed into `/usr/local/etc/bash_completion.d/` while our completion is installed into `/usr/local/share/bash-completion/completions/`, which is processed first according to [the bash-completion README](https://github.com/scop/bash-completion/blob/master/README.md).

License
-------

BSD 2-Clause "Simplified" License