No tab completion on macOS when installed from brew
See original GitHub issueI am under the assumption that the az
CLI should have tab-completion, at least for the top-level commands such az group and such. For me, there is no tab completion.
When I searched online some people mentioned having to source a certain tab completion in their .bash_profile, but nothing in the installation instructions mentions this.
So I’m not sure if there is something broken or if there is a step I am missing. Any help would be appreciated.
Thanks.
Environment summary
macOS 10.13.3
Installed from brew using instructions here: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
Shell Type: iTerm2 3.1.5 with bash
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
brew Shell Completion - Homebrew Documentation
Homebrew comes with completion definitions for the brew command. ... Shell completions for external Homebrew commands are not automatically installed.
Read more >Bash Completion · macOS Setup Guide
Bash completion is a bash function that allows you to auto complete commands or arguments by typing partially commands or arguments, then pressing...
Read more >macos - Homebrew's `git` not using completion - Stack Overflow
Open System Preferences -> Users and Groups . · Right click your user and select "Advanced Options". · Set the login shell field...
Read more >How to enable bash completion in macOS - Simplified Guide
Steps to enable bash completion in macOS: · Launch Terminal. · Install bash-completion via Homebrew. $ brew install bash-completion · Manually enable bash- ......
Read more >Git autocompletion is not working with homebrew - Ask Different
For Yosemite, after I upgraded to git 2.1.3 with homebrew, this worked in my .profile file ( .bash_profile or similar would work, too):...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
At the end of the brew install, it should say this:
Then, to enable completion, you can source that file with:
To make your terminal always load that file, you can add it to your
~/.bash_profile
Same here, just installed azure-cli and no completions are installed, have they been removed?