forked from extern/nushell
ee18f16378
* 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. * Change list of allowed dirs to indexmap * Rewrite starting * rewrite everything * Overwritten env values tracks an indexmap instead of vector * Refactor restore function * Untrack removed vars properly * Performance concerns * Performance concerns * Error handling * Clippy * Add type aliases for String and OsString * Deletion almost works * Working? * Error handling and refactoring * nicer errors * Add TODO file * Move outside of loop * Error handling * Reworking adding of vars * Reworking adding of vars * Ready for testing * Refactoring * Restore overwritten vals code * todo.org * Remove overwritten values tracking, as it is not needed * Cleanup, stop tracking overwritten values as nu takes care of it * Init autoenv command * Initialize autoenv and autoenv trust * autoenv trust toml * toml * Use serde for autoenv * Optional directory arg * Add autoenv untrust command * ... actually add autoenv untrust this time * OsString and paths * Revert "OsString and paths" This reverts commit |
||
---|---|---|
.. | ||
math | ||
random | ||
alias.rs | ||
append.rs | ||
autoenv_trust.rs | ||
autoenv_untrust.rs | ||
autoenv.rs | ||
cal.rs | ||
calc.rs | ||
cd.rs | ||
compact.rs | ||
cp.rs | ||
default.rs | ||
drop.rs | ||
each.rs | ||
enter.rs | ||
every.rs | ||
first.rs | ||
format.rs | ||
get.rs | ||
group_by.rs | ||
headers.rs | ||
histogram.rs | ||
insert.rs | ||
is_empty.rs | ||
keep_until.rs | ||
keep_while.rs | ||
keep.rs | ||
last.rs | ||
lines.rs | ||
ls.rs | ||
merge.rs | ||
mkdir.rs | ||
mod.rs | ||
mv.rs | ||
nth.rs | ||
open.rs | ||
parse.rs | ||
prepend.rs | ||
range.rs | ||
rename.rs | ||
reverse.rs | ||
rm.rs | ||
save.rs | ||
select.rs | ||
semicolon.rs | ||
skip_until.rs | ||
sort_by.rs | ||
split_by.rs | ||
split_column.rs | ||
split_row.rs | ||
str_.rs | ||
touch.rs | ||
trim.rs | ||
uniq.rs | ||
update.rs | ||
where_.rs | ||
with_env.rs | ||
wrap.rs |