mirror of
https://github.com/nushell/nushell.git
synced 2024-12-27 01:19:25 +01:00
a77c222db0
Partial fix of issue #711 The second example is taken from the book, specifically the section https://book.nushell.sh/en/shells_in_shells#going-beyond-directories
27 lines
898 B
Markdown
27 lines
898 B
Markdown
# shells
|
|
|
|
Lists all the active nu shells with a number/index, a name and the path. Also marks the current nu shell.
|
|
|
|
## Examples
|
|
|
|
```
|
|
> shells
|
|
---+---+------------+---------------
|
|
# | | name | path
|
|
---+---+------------+---------------
|
|
0 | | filesystem | /usr
|
|
1 | | filesystem | /home
|
|
2 | X | filesystem | /home/username
|
|
---+---+------------+---------------
|
|
```
|
|
|
|
```
|
|
/> shells
|
|
---+---+-------------------------------------------------+------------------------------------
|
|
# | | name | path
|
|
---+---+-------------------------------------------------+------------------------------------
|
|
0 | | filesystem | /Users/username/Code/nushell
|
|
1 | X | {/Users/username/Code/nushell/Cargo.toml} | /
|
|
---+---+-------------------------------------------------+------------------------------------
|
|
```
|