-
Notifications
You must be signed in to change notification settings - Fork 253
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
Adding nu version to scripts #1051
Comments
Not sure how that could happen really. Most people try to stay updated with the latest changes. |
When I need my scripts to be versioned correctly (regardless of the language I'm using), I usually use the For instance, if you want to make so that your script uses a specific version of nushell when executed, you can use a nix shebang that refers to a specific commit hash of the nix package repository:
Then run the script:
|
I was just thinking that adding a |
Authors are welcome to put that in the scripts they submit. |
Thank you. Those SSH completion changes were made by me. I will update my scripts to have that compatibility note. |
This is my response for #1051 The syntax of this note is inspired by Rust _Cargo.toml_ and Python _pyproject.toml_.
Hello, a recent commit (446f06f) broke the ssh custom completion for nu version 0.99.1 (the one shipped by dnf and fedora). This isn't a huge issue and I just downloaded the previous version.
However, it got me thinking, should the version of nu the script was developed for be commented in the script?
Ideally the script should display what versions of nu it works for, but this is unfeasible, probably.
The text was updated successfully, but these errors were encountered: