#!/usr/bin/env bash

echo "Removing undesired completions..."

# Remove completions overriden by custom completions
rm -f /usr/local/etc/bash_completion.d/brew
rm -f /usr/local/etc/bash_completion.d/npm
# Prefer `bundle` over `bundler`
rm -f /usr/local/bin/bundler
# Prefer `speedtest` over `speedtest-cli` and `speedtest_cli`
rm -f /usr/local/bin/speedtest-cli
rm -f /usr/local/bin/speedtest_cli

#!/usr/bin/env bash

echo "Removing undesired completions..."

# Remove completions overriden by custom completions
rm -f /usr/local/etc/bash_completion.d/brew
rm -f /usr/local/etc/bash_completion.d/npm
# Prefer `bundle` over `bundler`
rm -f /usr/local/bin/bundler

Remove speedtest-cli completion removal logic
Remove speedtest-cli completion removal logic

Since I removed speedtest-cli from my package installer script, the code
for removing its unwanted completions is no longer necessary.
