Skip to content

Commit

Permalink
Install zsh completions (#361)
Browse files Browse the repository at this point in the history
Install zsh completions
  • Loading branch information
twpayne committed Jun 22, 2019
2 parents a590114 + 794a1a1 commit f1372a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ nfpms:
- rpm
dependencies:
- git
bindir: "/usr/bin"
files:
"completions/chezmoi-completion.bash": "/usr/share/bash-completion/completions/chezmoi"
"completions/chezmoi.fish": "/usr/share/fish/completions/chezmoi.fish"
Expand All @@ -87,11 +88,15 @@ nfpms:
386: i686
arm: armhfp
arm64: aarch64
files:
"completions/chezmoi.zsh": "/usr/share/zsh/functions/_chezmoi"
deb:
name_template: "{{ .ProjectName }}_{{ .Version }}-{{ .Env.TRAVIS_BUILD_NUMBER }}_{{ .Os }}_{{ .Arch }}"
replacements:
386: i386
arm: armel
files:
"completions/chezmoi.zsh": "/usr/share/zsh/vendor-completions/_chezmoi"

brews:
- github:
Expand Down
5 changes: 5 additions & 0 deletions goreleaser/goreleaser.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ nfpms:
- rpm
dependencies:
- git
bindir: "/usr/bin"
files:
"completions/chezmoi-completion.bash": "/usr/share/bash-completion/completions/chezmoi"
"completions/chezmoi.fish": "/usr/share/fish/completions/chezmoi.fish"
Expand All @@ -87,11 +88,15 @@ nfpms:
386: i686
arm: armhfp
arm64: aarch64
files:
"completions/chezmoi.zsh": "/usr/share/zsh/functions/_chezmoi"
deb:
name_template: "{{ .ProjectName }}_{{ .Version }}-{{ .Env.TRAVIS_BUILD_NUMBER }}_{{ .Os }}_{{ .Arch }}"
replacements:
386: i386
arm: armel
files:
"completions/chezmoi.zsh": "/usr/share/zsh/vendor-completions/_chezmoi"

brews:
- github:
Expand Down

0 comments on commit f1372a4

Please sign in to comment.