1 diff --git i/beets/ui/commands.py w/beets/ui/commands.py
2 index ad4f7821..5077191d 100755
3 --- i/beets/ui/commands.py
4 +++ w/beets/ui/commands.py
5 @@ -2381,22 +2381,6 @@ default_commands.append(config_cmd)
6 def print_completion(*args):
7 for line in completion_script(default_commands + plugins.commands()):
9 - if not any(os.path.isfile(syspath(p)) for p in BASH_COMPLETION_PATHS):
11 - "Warning: Unable to find the bash-completion package. "
12 - "Command line completion might not work."
16 -BASH_COMPLETION_PATHS = [
17 - b"/etc/bash_completion",
18 - b"/usr/share/bash-completion/bash_completion",
19 - b"/usr/local/share/bash-completion/bash_completion",
21 - b"/opt/local/share/bash-completion/bash_completion",
22 - # Homebrew (before bash-completion2)
23 - b"/usr/local/etc/bash_completion",
27 def completion_script(commands):
28 diff --git i/test/test_ui.py w/test/test_ui.py
29 index cae86148..faf266a8 100644
32 @@ -1434,12 +1434,7 @@ class CompletionTest(_common.TestCase, TestHelper):
35 # Load bash_completion library.
36 - for path in commands.BASH_COMPLETION_PATHS:
37 - if os.path.exists(syspath(path)):
38 - bash_completion = path
41 - self.skipTest("bash-completion script not found")
42 + self.skipTest("bash-completion script not found")
44 with open(util.syspath(bash_completion), "rb") as f:
45 tester.stdin.writelines(f)