mirror of
				https://github.com/kelseyhightower/kubernetes-the-hard-way.git
				synced 2025-11-04 10:12:35 +03:00 
			
		
		
		
	changed to reload .bashrc
Changed from spawning a new shell to reloading .bashrc
This commit is contained in:
		@@ -102,7 +102,7 @@ sudo mv kubectl /usr/local/bin/
 | 
			
		||||
The following steps will enable shell tab completion on kubectl while using bash:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
echo "source <(kubectl completion bash)" >> ~/.bashrc && bash
 | 
			
		||||
echo "source <(kubectl completion bash)" >> ~/.bashrc && .~/.bashrc
 | 
			
		||||
```
 | 
			
		||||
>You can also omit the "&& bash" and reload the shell later. 
 | 
			
		||||
>This will only enable tab completion for your current user.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user