mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-31 08:11:32 +01:00 
			
		
		
		
	The approach is lifted from cobra: `tailscale completion bash` emits a bash
script for configuring the shell's autocomplete:
    . <( tailscale completion bash )
so that typing:
    tailscale st<TAB>
invokes:
    tailscale completion __complete -- st
RELNOTE=tailscale CLI now supports shell tab-completion
Fixes #3793
Signed-off-by: Paul Scott <paul@tailscale.com>