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

New chapter page collecting the list of special variables #1860

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

NotTheDr01ds
Copy link
Contributor

Added a "Special Variables" page to the "Nu Fundamentals" chapter. How many did I miss?

@132ikl
Copy link
Contributor

132ikl commented Apr 2, 2025

you missed $env.PROCESS_PATH 😄

also, maybe it would be good to make a table of equivalent special variables in bash, perl, etc. for quick reference?

@NotTheDr01ds
Copy link
Contributor Author

you missed $env.PROCESS_PATH 😄

Ah, yes - Thanks! I tested it and thought it had been removed, but I tested via source and use, but apparently not via script execution where it's valid.

also, maybe it would be good to make a table of equivalent special variables in bash, perl, etc. for quick reference?

Probably, but those tables are spread across several different pages today, and are starting to get (a) unwieldy and (b) outdated themselves. We also don't even have a Perl comparison today, but someone expressed interest in #1843. I'm not sure what the best way to handle it is.

@132ikl
Copy link
Contributor

132ikl commented Apr 3, 2025

I think possibly adding a table to this page with a comparison of just the special variables possibly, and then link to that table from the other tables. It should be a much more compact table than the other tables

@132ikl
Copy link
Contributor

132ikl commented Apr 7, 2025

thanks for taking care of this!

@132ikl 132ikl merged commit ce38a4b into nushell:main Apr 7, 2025
2 checks passed
132ikl pushed a commit to nushell/nushell that referenced this pull request Apr 7, 2025
# Description

As requested in review on
nushell/nushell.github.io#1860 - This adds a
reminder comment requesting that contributors update that doc page when
adding new constants.

# User-Facing Changes

None

# Tests + Formatting

Comment-only

# After Submitting

This PR should only be merged after
nushell/nushell.github.io#1860 is merged into
the doc.
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.

2 participants