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

feat: Remove welcome message #799

Merged
merged 3 commits into from
Feb 27, 2023

Conversation

gustavopmaia
Copy link
Contributor

@gustavopmaia gustavopmaia commented Feb 25, 2023

Add tutorial how to remove the welcome message.

This PR complements PR #8217 in nushell repository

Tutorial how to remove the welcome message
Moved topic to Configuration page
Copy link
Member

@amtoine amtoine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a proposition of some more details for those who might not know (1) where to get a default config file and (2) how to open it for edition 😋

To remove the welcome message, you need to edit your `config.nu`. Go to global configuration `let-env config` and set `show-banner` option to false, like this:

@[code](@snippets/installation/remove_welcome_message.nu)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would add, for those who are not sure where to find the config file

nushell> http get https://raw.githubusercontent.com/nushell/nushell/main/crates/nu-utils/src/sample_config/default_config.nu | save --force $nu.config-path
  • how to open the config file, i.e. with
nushell> config nu

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is config reset and we prompt at first startup so I don't think pulling from a potentially changing URL is recommended.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah you're right 🤔

then, only config nu could be useful i think 😋

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll add the config nu part in the docs

@sophiajt sophiajt merged commit b82e9d5 into nushell:main Feb 27, 2023
ayax79 pushed a commit to ayax79/nushell.github.io that referenced this pull request Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants