mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
6a0f404558
* Proof of concept treating env vars as Values * Refactor env var collection and method name * Remove unnecessary pub * Move env translations into a new file * Fix LS_COLORS to support any Value * Fix spans during env var translation * Add span to env var in cd * Improve error diagnostics * Fix non-string env vars failing string conversion * Make PROMPT_COMMAND a Block instead of String * Record host env vars to a fake file This will give spans to env vars that would otherwise be without one. Makes errors less confusing. * Add 'env' command to list env vars It will list also their values translated to strings * Sort env command by name; Add env var type * Remove obsolete test
10 lines
246 B
Rust
10 lines
246 B
Rust
mod call_ext;
|
|
mod documentation;
|
|
mod env;
|
|
mod eval;
|
|
|
|
pub use call_ext::CallExt;
|
|
pub use documentation::{generate_docs, get_brief_help, get_documentation, get_full_help};
|
|
pub use env::*;
|
|
pub use eval::{eval_block, eval_expression, eval_operator};
|