diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2022-08-10 10:07:48 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2022-08-10 10:07:48 +0900 |
| commit | 88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b (patch) | |
| tree | 936e741ba02c9f94d5f196694cd7e75518738a88 /src/_golang | |
| parent | Merge pull request #882 from zsh-users/go1.19 (diff) | |
| download | zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.tar zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.tar.gz zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.tar.bz2 zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.tar.lz zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.tar.xz zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.tar.zst zsh-completions-88b284dc6d51f1439e1e8d6ee12f9a2fbd18c27b.zip | |
Update go environment variable completion
Diffstat (limited to 'src/_golang')
| -rw-r--r-- | src/_golang | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/_golang b/src/_golang index b54a0e5..abc42bb 100644 --- a/src/_golang +++ b/src/_golang @@ -253,12 +253,12 @@ __go_envvarvals() { ;& GOOS) # from https://golang.org/doc/install/source#environment - _values 'operating system' aix android darwin dragonfly freebsd illumos js linux netbsd openbsd plan9 solaris windows + _values 'operating system' aix android darwin dragonfly freebsd illumos ios js linux netbsd openbsd plan9 solaris windows ;; GOHOSTARCH) ;& GOARCH) - _values 'architecture' amd64 386 arm ppc64 + _values 'architecture' amd64 386 arm64 arm ppc64 ppc64le mips mipsle mips64 mips64le riscv64 s390x wasm ;; CGO_ENABLED) _values 'enable/disable cgo' 0 1 @@ -272,9 +272,15 @@ __go_envvarvals() { GO386) _values 'x86 floating point instruction set' 387 sse2 ;; + GOAMD64) + _values 'amd64 instruction set' v1 v2 v3 v4 + ;; GOMIPS*) _values 'mips floating point instructions' hardfloat softfloat ;; + GOPPC64) + _values 'powerpc64 instruction set' power8 power9 + ;; GOWASM) _values 'web assembly features' -s ',' satconv signext ;; @@ -469,8 +475,10 @@ case $state in "PKG_CONFIG[Path to pkg-config tool.]:path to pkg-config" "GOARM[arm architecture]:arm architecture" "GO386[x86 instruction set]:x86 instruction set" + "GOAMD64[amd64 instruction set]:amd64 instruction set" "GOMIPS[mips instruction set]:mips instruction set" "GOMIPS64[mips64 instruction set]:mips64 instruction set" + "GOPPC64[powerpc64 instruction set]:powerpc64 instruction set" "GOWASM[web assembly features]:comma separated web assembly features" "GCCGOTOOLDIR[directory of gccgo tools]:gccgo tool directory" "GOROOT_FINAL[root of the go tree]:go root" |
