BSD Ports

shells/bash-completion 2.18.0 NetBSD

Programmable completion specifications for bash

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
018a0e5c8b
License
gnu-gpl-v2
Categories
shells
Package size
219.2 KiB, 1026.9 KiB installed

Description

A relatively new feature in bash is programmable completion, which has been available since the beta version of 2.04. Programmable completion will be familiar to you if you are a zsh user. It also exists, albeit in a much less usable form, in tcsh.

Standard completion

bash has offered many forms of completion since its inception, including path, file, user, host and variable completion.

\* Path-name completion
\* File-name completion
\* User-name completion
\* Host-name completion
\* Variable-name completion

Programmable completion indefinitely extends the type of completion you can perform.

This package contains a variety of completions for various programs.

In the other systems

SystemPortVersion
NetBSDshells/bash-completion2.18.0
FreeBSDshells/bash-completion2.18.0,2
OpenBSDshells/bash-completion2.17.0
DragonFlyshells/bash-completion2.14.0,2
MidnightBSDshells/bash-completion2.14.0,2

Install

Binary package:

pkgin install bash-completion

From pkgsrc:

cd /usr/pkgsrc/shells/bash-completion && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
018a0e5c8b adam bash-completion: updated to 2.18.0
2.18.0 This release comes with notable changes to the directories used for looking up and sourcing completion recipes and helpers, allowing for more flexibility and customization and fewer conflicts between things shipping with bash-completion and third party/upstream/origin packages. Files that come with bash-completion itself are located in directories reserved for that use, their names ending with `-core` and `-fallback`. Packages should continue install their files in the same `completions` and `helpers` dirs like before; these directories precede the bash-completion "core" ones in lookup order. A new concept of `startup` dirs has been introduced. Files from these directories are sourced eagerly on bash-completion startup. This …