Skip to content

Commit 4444ab5

Browse files
Quote download URL in quickstart docs
Copying and pasting the `curl` line in the installation docs conflicts with zsh (or perhaps oh-my-zsh), which incorrectly escapes parentheses. ```sh curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH) ``` becomes: ```sh curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$\(go env GOOS)/$(go env GOARCH) ``` Which of course doesn't have the desired result and errors out. Double-quoting the URL should ensure the interpolated shell commands have the desired outcome. Tested on zsh and bash.
1 parent a6fca17 commit 4444ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/src/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Install [kubebuilder](https://sigs.k8s.io/kubebuilder):
3131

3232
```bash
3333
# download kubebuilder and install locally.
34-
curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH)
34+
curl -L -o kubebuilder "https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH)"
3535
chmod +x kubebuilder && mv kubebuilder /usr/local/bin/
3636
```
3737

0 commit comments

Comments
 (0)