There was an error while loading. Please reload this page.
1 parent f1389ed commit 2517a89Copy full SHA for 2517a89
1 file changed
.goreleaser.yml
@@ -85,6 +85,17 @@ brews:
85
install: |
86
bin.install "odo"
87
generate_completions_from_executable(bin/"odo", "completion")
88
+ caveats: |
89
+ Shell completions have been installed. To enable them, add the following
90
+ to your ~/.zshrc (if not already present):
91
+
92
+ autoload -Uz compinit && compinit
93
94
+ Then restart your shell or run: source ~/.zshrc
95
96
+ For bash, add to ~/.bashrc:
97
+ [[ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]] && \
98
+ source "$(brew --prefix)/etc/profile.d/bash_completion.sh"
99
test: |
100
system "#{bin}/odo", "--version"
101
0 commit comments