Commit Graph

73 Commits

Author SHA1 Message Date
Sam Hedin
6ce5a87c30 Move directory environment code to separate file 2020-06-06 06:02:15 +02:00
Sam Hedin
14e12f57b0 Refactor env_vars_to_add() 2020-06-06 05:48:25 +02:00
Sam Hedin
fb6eb1924f Refactor env_vars_to_delete 2020-06-06 03:51:50 +02:00
Sam Hedin
3a278b38da Removing vars works, but not done in a very nice fashion 2020-06-06 02:54:27 +02:00
Sam Hedin
8498c673bd Refactoring 2020-06-06 02:10:36 +02:00
Sam Hedin
0ee54a3418 Rename .nurc to .nu 2020-06-05 05:31:52 +02:00
Sam Hedin
da2751da54 I am in a state of distress 2020-06-05 04:58:50 +02:00
Sam Hedin
0f0485957a Parse config directories 2020-06-05 04:00:52 +02:00
Sam Hedin
e97e883d1f Move work to cli.rs 2020-06-05 01:23:55 +02:00
Sam Hedin
3aeddee2fe Add and remove env var behavior appears correct
However, it does not use existing code that well.
2020-06-04 23:43:26 +02:00
Sam Hedin
24d2e88e0f Debug by logging to file 2020-06-04 23:17:55 +02:00
Sam Hedin
fe4a51eef4 Debugging 2020-06-04 05:31:37 +02:00
Sam Hedin
6e72386360 Refactoring, add comment 2020-06-04 05:30:28 +02:00
Sam Hedin
de0c252e27 Removing vals not working, strangely 2020-06-04 04:37:02 +02:00
Sam Hedin
c67d93dae1 Delete env vars after leaving directory 2020-06-04 04:02:54 +02:00
Sam Hedin
48e4bb60d0 Parse .nurc file 2020-06-04 02:14:49 +02:00
Sam Hedin
8eaaddca8f Add add_nurc to sync_env command 2020-06-04 01:16:07 +02:00
Sam Hedin
3d15ac076c Working dummy version 2020-06-04 01:13:04 +02:00
Sam Hedin
83795a3e70 Add args in .nurc file to environment 2020-06-04 01:07:39 +02:00
Andrés N. Robalino
80025ea684
Rows and values can be checked for emptiness. Allows to set a value if desired. (#1665) 2020-04-26 12:30:52 -05:00
Jonathan Turner
c86cf31aac
some minor improvements and removing dead code (#1563) 2020-04-10 07:48:10 +12:00
Waldir Pimenta
5ca9e12b7f
Fix whitespace and typos (#1481)
* Remove EOL whitespace in files other than docs

* Break paragraphs into lines

See http://rhodesmill.org/brandon/2012/one-sentence-per-line/ for the rationale

* Fix various typos

* Remove EOL whitespace in docs/commands/*.md
2020-03-14 06:23:41 +13:00
Jason Gedge
b2c5af457e
Move most of the root package into a subcrate. (#1445)
This improves incremental build time when working on what was previously
the root package. For example, previously all plugins would be rebuilt
with a change to `src/commands/classified/external.rs`, but now only
`nu-cli` will have to be rebuilt (and anything that depends on it).
2020-03-04 13:58:20 -05:00