mirror of
https://github.com/nushell/nushell
synced 2024-11-11 07:34:14 +00:00
Merge pull request #760 from coolshaurya/shells-command-docs
Created docs for shells command
This commit is contained in:
commit
27e59ea49c
1 changed files with 26 additions and 0 deletions
26
docs/commands/shells.md
Normal file
26
docs/commands/shells.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
# 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} | /
|
||||
---+---+-------------------------------------------------+------------------------------------
|
||||
```
|
Loading…
Reference in a new issue