From e2ba73af6342fed58c1b26391f105a447110d520 Mon Sep 17 00:00:00 2001 From: Luke Ashe-Browne Date: Wed, 28 Aug 2024 23:01:36 +0100 Subject: [PATCH] feat(tailscale): new tailscale plugin (#12523) --- plugins/tailscale/README.md | 11 +++++++++++ plugins/tailscale/tailscale.plugin.zsh | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 plugins/tailscale/README.md create mode 100644 plugins/tailscale/tailscale.plugin.zsh diff --git a/plugins/tailscale/README.md b/plugins/tailscale/README.md new file mode 100644 index 000000000..be5a62137 --- /dev/null +++ b/plugins/tailscale/README.md @@ -0,0 +1,11 @@ +# tailscale + +This plugin provides completion for [tailscale](https://tailscale.com/) (Easy software-defined networks using an implementation of wireguard). + +To use it, add `tailscale` to the plugins array in your zshrc file. + +``` +plugins=(... tailscale) +``` + +**Author:** [@lukeab](https://github.com/lukeab) diff --git a/plugins/tailscale/tailscale.plugin.zsh b/plugins/tailscale/tailscale.plugin.zsh new file mode 100644 index 000000000..ae664a665 --- /dev/null +++ b/plugins/tailscale/tailscale.plugin.zsh @@ -0,0 +1,4 @@ + +if [ $commands[tailscale] ]; then + source <(tailscale completion zsh) +fi