Comments (5)
@dbzix glad you got it resolved.
from brew.
Did you read/follow https://docs.brew.sh/Shell-Completion?
from brew.
@MikeMcQuaid Yes, and it didn't help.
I've also tried to install bash-completion
, but received:
$ brew install bash-completion
==> Downloading https://ghcr.io/v2/homebrew/core/bash-completion/manifests/1.3_3
Already downloaded: /home/username/.cache/Homebrew/downloads/1ce2e9e615402b0a5be101ea0e04880736e2c985e09ed8f1d8d30ff4c287f07e--bash-completion-1.3_3.bottle_manifest.json
==> Fetching bash-completion
==> Downloading https://ghcr.io/v2/homebrew/core/bash-completion/blobs/sha256:c34ba8272f8e85e7f453c76e0fee07d8d35831e6b6365588a80ef240f9524e50
Already downloaded: /home/username/.cache/Homebrew/downloads/47556009459bddbe9164f34869ebd3e8dd8810870db74213e5de1850875a08f4--bash-completion--1.3_3.x86_64_linux.bottle.tar.gz
Error: Cannot install bash-completion because conflicting formulae are installed.
util-linux: because both install `mount`, `rfkill`, and `rtcwake` completions
Please `brew unlink util-linux` before continuing.
Unlinking removes a formula's symlinks from /home/linuxbrew/.linuxbrew. You can
link the formula again after the install finishes. You can `--force` this
install, but the build may fail or cause obscure side effects in the
resulting software.
Installing bash-completion@2
didn't help, too.
UPD.: Also, the page you provided says:
Homebrew comes with completion definitions for the brew command.
I suppose it assumes that for brew
command completions there is nothing that should be done additionally. Am I wrong here?
from brew.
@MikeMcQuaid Yes, and it didn't help.
What steps did you follow, what did they output, what else have you tried, what shell are you using, etc.
from brew.
Hey, @MikeMcQuaid!
I finally resolved the issue by running brew completions link
and then adding the piece of script mentioned here to my .bashrc
file.
The problem was obviously in blindly following the suggestion to add this script to either .bash_profile
or .profile
.
So, anyway, thanks for trying to help.
But I would like to make a little proposal here.
It would be nice and simple for users to have something like eval "$(brew init bash)"
just as some other tools do. And you just put it right in your config file specific to the shell you use.
from brew.
Related Issues (20)
- Run xattr -r -d com.apple.quarantine App.app on casks on Apple Silicon MacOS HOT 20
- Homebrew's brew alias is broken after update this morning on Debian machines HOT 2
- Are all of the `undef`s we use really necessary? HOT 27
- HOMEBREW_PIP_INDEX_URL is misleading and does not work-as-intended with some mirrors
- “Error: comparison of PkgVersion with String failed” when running `brew upgrade` HOT 3
- brew upgrade or install fails with comparison of PkgVersion with String HOT 1
- Brew link step fail if installing multiple formulae with common symlink using a system with symlinked /home HOT 6
- golang not update to 1.23.0 HOT 2
- Happened ruby runtime error on macOS Sequoia HOT 2
- Homebrew no longer correctly reads `HOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN` from /etc/homebrew/brew.env
- environment file variables are not honored
- `brew install` call `gh attestation verify` Disrespect `XDG_CACHE_HOME` HOT 3
- Fix failing tests and write other tests as well HOT 1
- Suggest to change the way to read file in export_homebrew_env_file HOT 4
- Add a more customizable ENV file loading process HOT 2
- Download does not start immediately, a lot of network traffic (file is downloaded twice?) HOT 5
- macos sequoia 15.1 : We do not provide support for this pre-release version. HOT 4
- `brew upgrade -s` does not build from source or error out HOT 7
- [Intentional or bug?] v4.3.19 `brew list` now outputs single column lists HOT 3
- MariaDB fails to start on Debian 12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.