Shell-Completion: recommend .bash_profile
`.bashrc` is not the right location for shell completions.
This commit is contained in:
		
							parent
							
								
									372a8d4532
								
							
						
					
					
						commit
						439283c3df
					
				@ -8,7 +8,7 @@ You must configure your shell to enable the completion support. This is because
 | 
			
		||||
 | 
			
		||||
## Configuring Completions in `bash`
 | 
			
		||||
 | 
			
		||||
To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell startup. Add the following to your `~/.bashrc` file:
 | 
			
		||||
To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell startup. Add the following to your `~/.bash_profile` file:
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
if type brew &>/dev/null; then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user