mirror of
https://github.com/nushell/nushell.git
synced 2026-11-26 03:25:39 +08:00
# Description Choose more tree-sitter-nu-friendly (if not better) expressions in nu scripts. The changes made in this PR all come from known issues of `tree-sitter-nu`. 1. nested single/double quotes: https://github.com/nushell/tree-sitter-nu/issues/125 2. module path of `use` command: https://github.com/nushell/tree-sitter-nu/issues/165 3. where predicates of boolean column: https://github.com/nushell/tree-sitter-nu/issues/177 4. `error make` keyword: https://github.com/nushell/tree-sitter-nu/issues/179 Those issues are either hard to fix or "not planned" for syntactical precision considerations ATM. # User-Facing Changes Should be none # Tests + Formatting # After Submitting
run the scripts
Note
the following table must be read as follows:
- an
xmeans it works- a
?means no data available
.nuscripts must be run asnu .../foo.nu
.shscripts must be run as./.../foo.sh
.ps1scripts must be run aspowershell .../foo.ps1let's say a script is called
foo
- an
xin the./scriptscolumn meansfoocan be run from./scripts- an
xin the root column meansfoocan be run from the root ofnushell- an
xin the anywhere column meansfoocan be run from anywhere!
| script | ./scripts/ |
root | anywhere |
|---|---|---|---|
build-all-maclin.sh |
x | x | x |
build-all-windows.cmd |
? | x | ? |
build-all.nu |
x | x | x |
coverage-local.nu |
x | x | x |
coverage-local.sh |
x | x | x |
install-all.ps1 |
? | x | ? |
install-all.sh |
x | x | x |
uninstall-all.sh |
x | x | x |