]> git.ipfire.org Git - thirdparty/util-linux.git/commit
bash-completion: fix function name of enosys completion
authorKoichi Murase <myoga.murase@gmail.com>
Tue, 1 Jul 2025 13:39:23 +0000 (22:39 +0900)
committerKoichi Murase <myoga.murase@gmail.com>
Tue, 1 Jul 2025 13:48:41 +0000 (22:48 +0900)
commitc83058dcd3a4dc703d64e245eff2d5db281a1b79
treee33dcc11a7e0442b8d98b985f72cb40b06acf4f5
parent06419fe95b06c7aa8670081a68dbe43a53bff303
bash-completion: fix function name of enosys completion

The function "_enosys_module" referenced by the completion setting on
the last line of "bash-completion/enosys" is not defined in the
current master.  As reported in Ref. [1], this causes the following
error on an attempt at argument completion for the "enosys" command:

  bash: _enosys_module: command not found

[1] https://www.reddit.com/r/Fedora/comments/1llmu0w/comment/n00y98k/

Also, the function "_waitpid_module" defined in
"bash-completion/enosys" overwrites another completion function of the
same name defined in "bash-completion/waitpid".  This patch renames
the function in "bash-completion/enosys" to the correct one,
"_enosys_module".
bash-completion/enosys