mirror of
https://github.com/nushell/nushell.git
synced 2025-02-10 15:39:19 +01:00
* Add args in .nurc file to environment * Working dummy version * Add add_nurc to sync_env command * Parse .nurc file * Delete env vars after leaving directory * Removing vals not working, strangely * Refactoring, add comment * Debugging * Debug by logging to file * Add and remove env var behavior appears correct However, it does not use existing code that well. * Move work to cli.rs * Parse config directories * I am in a state of distress * Rename .nurc to .nu * Some notes for me * Refactoring * Removing vars works, but not done in a very nice fashion * Refactor env_vars_to_delete * Refactor env_vars_to_add() * Move directory environment code to separate file * Refactor from_config * Restore env values * Working? * Working? * Update comments and change var name * Formatting * Remove vars after leaving dir * Remove notes I made * Rename config function * Clippy * Cleanup and handle errors * cargo fmt * Better error messages, remove last (?) unwrap * FORMAT PLZ * Rename whitelisted_directories to allowed_directories * Add comment to clarify how overwritten values are restored.
7 lines
165 B
Rust
7 lines
165 B
Rust
pub(crate) mod directory_specific_environment;
|
|
pub(crate) mod environment;
|
|
pub(crate) mod environment_syncer;
|
|
pub(crate) mod host;
|
|
|
|
pub(crate) use self::host::Host;
|