summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2022-11-10 22:01:15 +0000
committerpin <pin@pkgsrc.org>2022-11-10 22:01:15 +0000
commit610f15922f079691a1a95f667697636ebdd172bc (patch)
tree34058423562d6d9115025c886dce6152c6b40ff4 /cross
parent674f338bfec292020cafe9aa4688597884bc9f88 (diff)
downloadpkgsrc-610f15922f079691a1a95f667697636ebdd172bc.tar.gz
shells/nushell: update to 0.71.0
- New ++ operator (merelymyself) In this release, you can now use the ++ operator to append lists together. For example, you can combine two lists into a new lists made up of the both lists. Note: Currently, this operator cannot be used to join two tables. This functionality is still being worked on and will likely be present in the next version. - Improved consistency across commands and types Nushell continues improve quality of the language and shell with a set of consistency improvements in this release. These include: - More iterating filter commands now support the $in variable consistently (webbedspace) - Lists now support upsert (fdncred) - merge can now also operate on records (webbedspace) - str substring can take ranges (rgwood) - from and to now show help info (rgwood) - Right prompts can now be on the last line (nibon7) Previously the right prompt appeared only on the same line where the user input started. Now you can choose to place the right prompt part on the last line of user input. This feature is not enabled by default, you can enable it using the config nu command to modify the config.nu file, just set render_right_prompt_on_last_line to true. - Configuring the default value viewer via display_output hook (perbothner) You're now able to configure a new hook, called display_output, which will become the default way that you view data. Using this, you can for example, use table --expand to always see fully expanded tables. If your terminal supports it, you can this to render a more full-featured output. For example, DomTerm could be used by setting the display_output hook to: to html --partial --no-color | domterm hcat, sending html to the terminal to be rendered when displaying values. - Updated PR Review Process Recently, we have been fortunate to see a rise in submitted pull requests and we are super grateful for this growing desire to improve Nushell. Unfortunately, in some cases, a well-intended PR does not match the direction Nushell is going, forcing us to close it which leads to wasted time and effort. To help focus PRs in the future, we kindly ask potential contributors to first reach out to us before making a substantial change to Nushell, especially if the change will affect user experience. We updated our contributing guide as well as the PR template to reflect this policy. - Completion actions now more familiar (dandavison) We've also recently improved how completions work in Nushell to feel closer to how other shells work. Specifically: - Completion goes "as far as possible". So, the entire word if there's a unique completion, or else up to the shared prefix of possible completions. - Removes the quick completion behavior whereby a word was completed automatically as soon as the input came to have a unique completion. - Tab now completes instead of selecting the next menu item (this can be configured) - Breaking changes - New --force (-f) flag for the mv command. This change alters mv default behavior. By default overwriting existing files is now prevented (You can use alias mv = mv -f in you config to get the old defaults back). (#6904) - The column name for the command name in $nu.scope.commands has been changed from command to name. Thus, $nu.scope.commands | where name =~ zip would give you specific command info. (#7007) - The str distance command now directly returns an Int instead of a record {"distance": <Int>} (#6963) - The argument order of format filesize was made consistent with other commands that accept a CellPath to specify fields that should be affected by it. Now the string specifying the format is the first positional argument and the cell path is specified in the following positional argument(s). (#6879) - The --perf flag for Nu was removed as part of an effort to simplify diagnostics logging #6834
Diffstat (limited to 'cross')
0 files changed, 0 insertions, 0 deletions