eastforest

Bashの補完機能

はじめに

Rocky Linux 10 にBashの補完機能をインストールします。

RPMパッケージとしてインストールされているかどうかの確認

# rpm -q bash-completion

dnf で確認

dnf list --installed bash-completion

パッケージの確認

# dnf info bash-completion
メタデータの期限切れの最終確認: 0:07:41 前の 2026年12月01日 17時53分34秒 に実施しました。
利用可能なパッケージ
名前         : bash-completion
エポック     : 1
バージョン   : 2.11
リリース     : 16.el10
Arch         : noarch
サイズ       : 397 k
ソース       : bash-completion-2.11-16.el10.src.rpm
リポジトリー : baseos
概要         : Programmable completion for Bash
URL          : https://github.com/scop/bash-completion
ライセンス   : GPL-2.0-or-later
説明         : bash-completion is a collection of shell functions that take advantage
             : of the programmable completion feature of bash.

インストール

# dnf install bash-completion

以上です。

モバイルバージョンを終了