Merge pull request #760 from coolshaurya/shells-command-docs

Created docs for shells command
This commit is contained in:
Jonathan Turner 2019-10-03 06:24:35 +13:00 committed by GitHub
commit 27e59ea49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
docs/commands/shells.md Normal file
View 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} | /
---+---+-------------------------------------------------+------------------------------------
```