mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
feat(tailscale): new tailscale plugin (#12523)
This commit is contained in:
parent
c80050d6f5
commit
e2ba73af63
2 changed files with 15 additions and 0 deletions
11
plugins/tailscale/README.md
Normal file
11
plugins/tailscale/README.md
Normal file
|
@ -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)
|
4
plugins/tailscale/tailscale.plugin.zsh
Normal file
4
plugins/tailscale/tailscale.plugin.zsh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
if [ $commands[tailscale] ]; then
|
||||||
|
source <(tailscale completion zsh)
|
||||||
|
fi
|
Loading…
Reference in a new issue