Home Explore Blog CI



nushell

2nd chunk of `blog/2022-04-12-nushell_0_61.md`
cb4d8b6063acebd8bd30a1cd56061d4990eeb62014f99b3d000000010000083c


Completions now show you a description of the command you're completing, if it's available.

# Introducing 'env.nu' (kubouch)

Just as we added 'config.nu' with 0.60, we're now adding a new additional startup file called 'env.nu'. The job of this file is to set up the environment that you'll run Nushell in. As a result, you're able to set up important environment variables like `$env.NU_LIB_DIRS` before 'config.nu' begins to run, let you take full advantage of the new library directories you've configured.

# Features

- `input` can now [suppress output](https://github.com/nushell/nushell/pull/5017) (dev-msp)
- [Termux/Android target support for new engine](https://github.com/nushell/nushell/pull/4956) (dscottboggs)
- `open` can now use [`from ...` named custom commands](https://github.com/nushell/nushell/pull/5049) (neosam)
- New [`sort` command for easier sorting](https://github.com/nushell/nushell/pull/5054) (sophiajt)
- `date to-record` for [working with structured dates](https://github.com/nushell/nushell/pull/5058) (sophiajt)
- New [starts-with operator](https://github.com/nushell/nushell/pull/5061) (fdncred)
- Can now create [generic menus for repl interactions](https://github.com/nushell/nushell/pull/5085) (elferherrera)
- New [`glob` command for fancier globbing](https://github.com/nushell/nushell/pull/5087) (fdncred)
- [Unary `not` support](https://github.com/nushell/nushell/pull/5111) (sophiajt)
- Startup and pre-prompt setup should now be [significantly faster](https://github.com/nushell/nushell/pull/5115) (sophiajt)
- [`0b[...]` support for binary literals](https://github.com/nushell/nushell/pull/5149) (merkrafter)

# Improvements

- Parser improvements by uasi, sophiajt, rgwood
- Error improvements by jmoore34, sophiajt, rgwood
- Documentation updates by hustcer, vishalsodani, fdncred, futile, kubouch, stormasm, Hofer-Julian, herlon214, rgwood, michel-slm
- General code cleanliness fixes by stormasm, bowlofeggs, rgwood, sholderbach, fdncred, herlon214, elferherrera, boyvanduuren, sophiajt

Title: Nushell 0.61: Completion Descriptions, env.nu, and New Features
Summary
Nushell 0.61 introduces completion descriptions in the shell, providing information about commands as they are being completed. A new 'env.nu' startup file is added to set up the environment before 'config.nu' runs. New features include suppressing output with 'input', Termux/Android support, 'open' command improvements, a new 'sort' command, 'date to-record', 'starts-with' operator, generic menus for REPL, 'glob' command, unary 'not' support, faster startup, and binary literal support. There are also numerous parser, error, documentation, and code cleanliness improvements.