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)
- Support user set BUNDLE_USER_CACHE HOT 14
- Consider getting superenv from `/etc/profile` and `/etc/environment` HOT 5
- SBOMs break bottle reproducibility HOT 18
- Improve caveats handling for API installs HOT 8
- Migration to other tap broken HOT 11
- Replace PAT usage with GitHub App Tokens HOT 1
- Use `main` for Homebrew branches HOT 4
- Use Sorbet `typed: strict` in all (non-package) files in Homebrew organisation
- Attestation failure message emits secret HOT 1
- Spurious linkage errors to GCC on Linux HOT 7
- Formula should be able to depend on cask HOT 2
- HOMEBREW_NO_INSTALL_FROM_API not working for dependencies with bottle HOT 3
- HEAD-only formulae can no longer be installed HOT 1
- Can't find socket when using emacsclient as homebrew editor HOT 10
- Reinstall happening even when downloaded artifact is the same HOT 8
- "arrow" cli output is weird with ligatures enabled HOT 2
- WTF! HOT 1
- `warning: finalizer references object to be finalized` on every `brew audit --cask` HOT 1
- `brew fetch --os=linux` fails on macOS HOT 2
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.