From a77c222db01702283246361dd0c47da4dfd3d1cc Mon Sep 17 00:00:00 2001 From: Shaurya Shubham Date: Wed, 2 Oct 2019 13:37:43 +0530 Subject: [PATCH] Created docs for shells command 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 --- docs/commands/shells.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/commands/shells.md diff --git a/docs/commands/shells.md b/docs/commands/shells.md new file mode 100644 index 0000000000..b9fde457b3 --- /dev/null +++ b/docs/commands/shells.md @@ -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} | / +---+---+-------------------------------------------------+------------------------------------ +```