Home Explore Blog CI



nushell

18th chunk of `blog/2022-03-22-nushell_0_60.md`
28db024649b9dca3532ea95172a59526cfff8335d310b3f60000000100001020
| config commands                          | $config                                                                                                                                                                                                            |
| `$nu.env`                                | `$nu.env` is now `$env`                                                                                                                                                                                            |
| $nu.path                                 | `$env.PATH`/`$env.Path` <- can do more in config.nu                                                                                                                                                                |
| $nu.lang                                 | $nu.scope.commands                                                                                                                                                                                                 |
| str to-int                               | into int                                                                                                                                                                                                           |
| `$nu.env.PROMPT_COMMAND` is a string     | `$env.PROMPT_COMMAND` is a block or a string                                                                                                                                                                       |
| get (has auto flatten)                   | get doesn't auto flatten                                                                                                                                                                                           |
| to json                                  | to json is formatted as 'pretty'                                                                                                                                                                                   |
| environment variable is a string         | environment variable can be any value                                                                                                                                                                              |
| `tags`                                   | `tags` is now `metadata`                                                                                                                                                                                           |
| bigint/bigdecimal                        | engine-q uses machine i64 and f64                                                                                                                                                                                  |
| File, Dir in `ls`                        | file, dir in `ls`                                                                                                                                                                                                  |
| binaryview                               | binaryview has been removed (it may be an optional plugin in the future)                                                                                                                                           |
| textview                                 | textview is removed. Install `bat` to view source files, or pipe the output into `less`                                                                                                                            |
| dataframe                                | dfr                                                                                                                                                                                                                |
| shells: `active`, `name`, `path` columns | shells: `active`, `path` columns                                                                                                                                                                                   |

Title: Further Breaking Changes in Nushell 0.60
Summary
This section details additional breaking changes from Nushell 0.44 to 0.60, covering changes to configuration commands, access to environment variables and paths, command scopes, string to integer conversion, prompt command handling, `get` command behavior, JSON formatting, environment variable types, metadata naming, number representation, `ls` output, removal of binaryview and textview, dataframe renaming, and `shells` command output.