diff options
| author | Peter Aronoff <peter@aronoff.org> | 2024-09-15 14:50:31 -0400 |
|---|---|---|
| committer | Peter Aronoff <peter@aronoff.org> | 2024-09-15 14:50:31 -0400 |
| commit | 139dc0e2d95c3588f9cc488b89110bb682a6bc2a (patch) | |
| tree | 5e1993bb7e730e3f18b71b091e17fe3d3f92645c /src/_golang | |
| parent | Merge pull request #1102 from zsh-users/update-node (diff) | |
| download | zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.tar zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.tar.gz zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.tar.bz2 zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.tar.lz zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.tar.xz zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.tar.zst zsh-completions-139dc0e2d95c3588f9cc488b89110bb682a6bc2a.zip | |
Add 'go telemetry' completion
Diffstat (limited to 'src/_golang')
| -rw-r--r-- | src/_golang | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/_golang b/src/_golang index 79b83d1..d79c804 100644 --- a/src/_golang +++ b/src/_golang @@ -195,6 +195,7 @@ local -a commands=( 'mod:module maintenance' 'work:workspace maintenance' 'run:compile and run Go program' + 'telemetry:manage Go telemetry data and settings' 'test:test packages' 'tool:run specified go tool' 'version:print Go version' @@ -658,6 +659,15 @@ case $state in '*:importpaths:__go_packages' ;; + (telemetry) + local -a telemetry_commands=( + 'off:disable both collection and uploading of telemetry data' + 'local:disable telemetry uploading, but enable local data collection' + 'on:enable both collection and uploading of telemetry data' + ) + _describe 'command' telemetry_commands + ;; + (test) if [[ $words[$CURRENT] = -test.* ]]; then _arguments \ |
