mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 09:51:44 +08:00
feat(tailscale): new tailscale plugin (#12523)
This commit is contained in:
parent
c80050d6f5
commit
e2ba73af63
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 New Issue
Block a user