mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
use $env.
instead of let-env
(#543)
related to nushell/nushell#9574 Commands used ```nushell sd --string-mode "let-env " '$env.' **/* git rst before_v0.60/ ```
This commit is contained in:
parent
c37fd0449f
commit
a61256da0e
32 changed files with 98 additions and 98 deletions
|
@ -19,7 +19,7 @@ your terminal documentation or find a work around
|
|||
- *Recommended*
|
||||
In your `env.nu`, add an environment variable pointing to the `todo.txt`. Example:
|
||||
```nu
|
||||
let-env TODO = ($nu.config-path | path dirname | path join 'scripts/todo.txt')
|
||||
$env.TODO = ($nu.config-path | path dirname | path join 'scripts/todo.txt')
|
||||
```
|
||||
- Source the `todo` command in your `config.nu`. Example
|
||||
```nu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue