-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
I recently tried installing mscs on an Ubuntu 22 server. I got this error:
install -m 0755 msctl /usr/local/bin/msctl
install -m 0755 mscs /usr/local/bin/mscs
install -m 0644 mscs.completion /etc/bash_completion.d/mscs
install: cannot create regular file '/etc/bash_completion.d/mscs': No such file or directory
make: *** [Makefile:34: update] Error 1
I investigated and found that my server has no /etc/bash_completion.d directory even though the bash-completion apt package is installed.
I found this stackexchange discussion saying that /etc/bash_completion.d/ is a legacy dir and bash completions should instead go into /usr/share/bash-completion/completions/.
I also looked in /usr/share/bash-completion/completions/ on my barebones Ubuntu 22 server and found it full of completion files, so it does seems like this is where the completion file should live.
I wonder though, is this something unique to Ubuntu? or do modern Debian releases and other linux distros also use /usr/share/bash-completion/completions/?
Metadata
Metadata
Assignees
Labels
No labels