-
Notifications
You must be signed in to change notification settings - Fork 480
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
Improve Documentation on how to persist aliases #901
Comments
It was suggested on Discord that:
But actually that does not. The config reports an error during nushell startup. |
I put this |
Thanks, yes, I was able to finally get them to persist. Now we just need someone to work on this issue to improve the docs! |
It says, add them to the config file. What are you thinking about changing? |
lots of TYPES of things can be added into the config file. Variables, Commands (def's), etc. Also, it could further help to ship inside the default
This would also make things much more understandable as well. |
I've said for a long time that the default_config.nu should have a bunch of comments to explain the syntax. So, I'd support such a change. |
Agree for the comment into the default_config.nu , and I shall say more : the doc may explain how to parse a file in a way to keep everything clean like https://discord.com/channels/601130461678272522/1103191812061011968/1103323548493303890 |
In the docs https://www.nushell.sh/book/aliases.html there is this statement:
However, if you click on that configuration chapter link and then search the page, you only see a small confusing snippet of a
nuopen
override example for MacOS, and nowhere else does it show how to persistaliases
.echo $nu.scope.aliases
does work to show current aliases made in a session, but there should be a way to persist them much more easily somehow?The text was updated successfully, but these errors were encountered: