-
Notifications
You must be signed in to change notification settings - Fork 55
Polish welcome message #273
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
Changes from 3 commits
e628c54
d407eb0
2f6bc85
410f40b
f2227dc
7e225f5
189ab8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,10 +112,8 @@ struct Install: SwiftlyCommand { | |
// Fish doesn't cache its path, so this instruction is not necessary. | ||
if pathChanged && !shell.hasSuffix("fish") { | ||
SwiftlyCore.print(""" | ||
NOTE: We have updated some elements in your path and your shell may not yet be | ||
aware of the changes. You can run this command to update your shell. | ||
|
||
hash -r | ||
NOTE: Swiftly has updated some elements in your path and your shell may not yet be | ||
aware of the changes. You can run 'hash -r' to update your shell in place. | ||
|
||
|
||
""") | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Since you're making this summary much better than what was there before can you also put in a section that describes the changes to the user's profile? This was something being asked in #255 . This summary is trying to gain user trust through transparency, so that they don't just hit n / ctrl-c.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's done now. The logic is as before: When suppressing commands are not given, the text is printed to let the user know about this significant change. It now also mentions the command line option that'd suppress it right away.