Skip to content

Ending installation text on MacOS has confusing messages around the shell profile. #383

Open
@carlynorama

Description

@carlynorama

When installing swiftly on MacOS 15.5 the init ended with the following message

To begin using installed swiftly from your current shell, first run the following command:
    
# Added by swiftly
. "/Users/$USER/.swiftly/env.sh"

(where $USER was my actual user name)

Which is not a command.

but then follows it with

Your shell caches items on your path for better performance. Swiftly has added items to your path that may not get picked up right away. You can run this command to update your shell to get these items.

    hash -r

Inspecting ~/.zprofile showed it had that text already in it (it hadn't before init, I had double checked to make sure this MacOS build was clean)

eval "$(/opt/homebrew/bin/brew shellenv)"

# Added by swiftly
. "/Users/$USER/.swiftly/env.sh"

It makes me think the first message was meant to be hash -r and somehow things got doubled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions