Skip to content

Commit 4494a0e

Browse files
authored
fix: test post install (#39)
1 parent 00372d6 commit 4494a0e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ brews:
5858
zsh_completion.install "completions/canvas-sync.zsh" => "_canvas-sync"
5959
fish_completion.install "completions/canvas-sync.fish"
6060
61+
# Custom post_install script for brew.
62+
# Could be used to do any additional work after the "install" script
63+
post_install: |
64+
system "echo", "'if type brew &>/dev/null; then
65+
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
66+
67+
autoload -Uz compinit
68+
compinit
69+
fi'", ">>", "~/.zshrc"
70+
6171
# winget:
6272
# - name: canvas-sync
6373
# publisher: aidanaden

0 commit comments

Comments
 (0)