From cf0fa3141ab524ecbcc276ed1d3495beea23db37 Mon Sep 17 00:00:00 2001 From: Charles Schleich Date: Thu, 3 Oct 2019 20:13:22 +0200 Subject: [PATCH] Created Docs for env command --- docs/commands/env.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/commands/env.md diff --git a/docs/commands/env.md b/docs/commands/env.md new file mode 100644 index 0000000000..5dd08fac51 --- /dev/null +++ b/docs/commands/env.md @@ -0,0 +1,27 @@ +# env + +The `env` command prints to terminal the environment of nushell + +This includes +- cwd : the path to the current working the directory (`cwd`), +- home : the path to the home directory +- config : the path to the config file for nushell +- history : the path to the nushell command history +- temp : the path to the temp file +- vars : descriptor variable for the table + +`env` does not take any arguments, and ignores any arguments given. + + +## Examples - + + +```shell +/home/username/mynushell/docs/commands(master)> env +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━━━━━━━ + cwd │ home │ config │ history │ temp │ vars +────────────────────────────────────────┼────────────────┼───────────────────────────────────────┼────────────────────────────────────────────┼──────┼──────────────── + /home/username/mynushell/docs/commands │ /home/username │ /home/username/.config/nu/config.toml │ /home/username/.local/share/nu/history.txt │ /tmp │ [table: 1 row] +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━━━━━━━ +``` +