You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Scott 82394debb7 cmd/tailscale: add shell tab-completion
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>


    tailscale completion __complete -- st

RELNOTE=tailscale CLI now supports shell tab-completion

Fixes #3793

Signed-off-by: Paul Scott <>
1 month ago
gliderlabs/ssh all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 9 months ago
heap all: use Go 1.22 range-over-int 1 month ago
spf13/cobra cmd/tailscale: add shell tab-completion 1 month ago