Nushell
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
GitHub
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
GitHub

This Week in Nushell #286

Published Friday, 2025-02-14

Highlights

Happy Valentine's Day from TWiN!

Some exciting changes this week in main and nightlies include the first drop of a new Custom Attributes feature - Thanks @Bahex! This has been a much anticipated (and discussed) feature. Attributes can now be defined and assigned to custom commands. Custom Attributes are currently being used to attach nicely-formatted examples to the custom commands in the Standard Library (std), define test cases for the those commands, and even assign new search terms to the help. And there's more to come!

In addition, std-rfc has been moved into Nushell-proper (and updated with custom attributes as well). These "early look"/preview commands can now be used out-of-the-box with use std-rfc/<submodule>. We welcome your feedback on these commands as we consider whether and when to promote them to the Standard Library.

And those who have already wasted far too much time theming their shell can now also custom-theme the Welcome Banner.

Nushell

  • Bahex

    • Added custom command attributes
    • Made chunks easier to discover for binary data
    • Fixed scanning tests being affected by user config
    • Updated std-rfc docs with actual examples
    • Implemented run_const for const
    • Exposed constants with overlay use
    • Retained state in subshells or with exec-restarts in std/dirs
    • Switched to 0-indexing in explore
    • Fixed block spans for the module keyword
  • blindFS

    • Added hover showing manpages for external commands in LSP
    • Fixed inlay hints span issue with user config scripts
    • Fixed LSP exit on null root_dir
    • Refactored variable/cell_path completion to be expression-based
  • sholderbach

    • Reverted / vi binding due to priority bug
    • Bumped Ubuntu runners to 22.04 LTS for tests
    • Bumped yanked dependencies
    • Fixed match blocks in std-rfc/kv implementation
    • Bumped bytesize to fix into filesize
    • Refactored/fixed tests affecting the whole command set
    • Used build_target information in startup banner
    • Fixed usages of fmt to format number
    • Triggered tests for patch release branch pushes
    • Implemented fuzzing more realistically with keyword const eval
  • hustcer

    • Refactored kv commands to replace inline params in SQL queries
  • dependabot[bot]

    • Bumped data-encoding from 2.7.0 to 2.8.0
  • NotTheDr01ds

    • Moved std-rfc into Nushell
    • Updated std-rfc tests to use @test attributes
    • Enabled theming the Welcome Banner
    • Added std-rfc README
    • Fixed char lsep assignment
    • Added platform-agnostic EoL separator to char command
    • Removed --no-default-features for std-lib-and-python-virtualenv CI
  • cptpiepmatz

    • Switched to proc-macro-error2 from proc-macro-error
    • Replaced IoError::new_with_additional_context calls with proper spans
  • WindSoilder

    • Made plugin compatible with nightly Nushell version
    • Fixed "missing required overlay" error
    • Allowed export alias in REPL
  • sgvictorino

    • Fixed ranges over zero-length input
    • Removed nu-check examples with the --all flag
  • 132ikl

    • Fixed match running closures as blocks
  • ysthakur

    • Fixed spread operator lexing in records
  • IanManske

    • Reworked operator type errors

Documentation

  • Tyarel8

    • Fixed typo in custom_commands
  • NotTheDr01ds

    • Fixed bad localhost link in TWiN 285
    • Added def --wrapped documentation
    • Published This Week in Nushell #285
  • Bahex

    • Removed mention of build-string from coloring_and_theming.md
  • Kissaki

    • Combined command and output code blocks
    • Made code examples executable
    • Fixed code block spacing
    • Fixed typos and CI failure caused by typos
    • Added missing code block language
    • Dropped empty closing line from code blocks
  • massongit

    • Fixed typo in Japanese README

Nu_Scripts

  • hongquan

    • Updated toolkit.nu per removal of stdlib-candidate
    • Provided completion for git subcommands
    • Added autocomplete for "docker image rm"
  • hustcer

    • Fixed from env custom command
  • NotTheDr01ds

    • Deprecated the nu_scripts version of stdlib-candidate
    • Added std-rfc/conversions
  • flying-sheep

    • Added subcommand list to task module

reedline

  • thomasschafer

    • Implemented clearing the selection when exiting visual mode
    • Added Vi o command to swap anchor and cursor
  • deephbz

    • Added atomic unified commands for ChangeInside/DeleteInside in Vi-Mode
    • Implemented vi-mode "Yank" (copy)
    • Improved Visual Mode Selection and Command Consistency
Edit this page on GitHub
Contributors: NotTheDr01ds