mirror of
https://github.com/nushell/nushell.git
synced 2025-04-14 08:18:17 +02:00
Merge pull request #785 from Charles-Schleich/master
Created Docs for env command
This commit is contained in:
commit
45ad18f654
27
docs/commands/env.md
Normal file
27
docs/commands/env.md
Normal file
@ -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]
|
||||||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━━━━━━━
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user