|
|
|
@ -15,4 +15,11 @@ if [[ ! -f "$ZSH_CACHE_DIR/completions/_tailscale" ]]; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If using the alias, let's make sure that the aliased executable is also bound |
|
|
|
|
|
|
|
# in case the alias points to "Tailscale" instead of "tailscale". |
|
|
|
|
|
|
|
# See https://github.com/ohmyzsh/ohmyzsh/discussions/12928 |
|
|
|
|
|
|
|
if (( $+aliases[tailscale] )); then |
|
|
|
|
|
|
|
_comps[${aliases[tailscale]:t}]=_tailscale |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
tailscale completion zsh >| "$ZSH_CACHE_DIR/completions/_tailscale" &| |
|
|
|
tailscale completion zsh >| "$ZSH_CACHE_DIR/completions/_tailscale" &| |
|
|
|
|