remove $nu.cwd (#4824)

This commit is contained in:
Darren Schroeder
2022-03-12 09:11:19 -06:00
committed by GitHub
parent 005301647a
commit ccc85a2979
3 changed files with 4 additions and 10 deletions

View File

@ -368,10 +368,10 @@ rows, columns, or cells inside of the table.
Shorthand paths are made from rows numbers, column names, or both. You can use
them on any variable or subexpression.
```
$nu.cwd
$env.PWD
```
The above accesses the built-in `$nu` variable, gets its table, and then uses
the shorthand path to retrieve only the cell data inside the "cwd" column.
The above accesses the built-in `$env` variable, gets its table, and then uses
the shorthand path to retrieve only the cell data inside the "PWD" column.
```
(ls).name.4
```