Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📖 Quote download URL in quickstart docs #3424

Merged
merged 1 commit into from
May 23, 2023

Commits on May 19, 2023

  1. 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.
    tragiclifestories authored May 19, 2023
    Configuration menu
    Copy the full SHA
    4444ab5 View commit details
    Browse the repository at this point in the history