Commit Graph

2495 Commits

Author SHA1 Message Date
Sam Hedin
1ae82f4ad4 Adding works 2020-06-26 23:21:09 +02:00
Sam Hedin
0a402ac3a9 Rework exit code 2020-06-26 20:54:00 +02:00
Sam Hedin
92efcb897a Delete vars 2020-06-26 17:51:59 +02:00
Sam Hedin
352d3a03b9 if parent dir 2020-06-26 15:10:59 +02:00
Sam Hedin
5dc5bb11aa Only apply vars once 2020-06-26 14:46:38 +02:00
Sam Hedin
a86438686e Refactoring 2020-06-25 20:54:26 +02:00
Sam Hedin
c6bbf140ed parsing and error msg 2020-06-25 20:44:01 +02:00
Sam Hedin
31c85f71ff Use sha2 crate for hashing 2020-06-25 19:47:11 +02:00
Sam Hedin
ce23b3b96e Replace match with or_else 2020-06-25 17:36:23 +02:00
Sam Hedin
b9c170d359 Clippy... again 2020-06-25 16:32:01 +02:00
Sam Hedin
a631040875 Clippy and errors 2020-06-25 16:26:33 +02:00
Sam Hedin
a61f0af4c7 Change tests to pass, danger zone? 2020-06-25 15:53:40 +02:00
Sam Hedin
1bb24e0561 Use ShellError instead of Error 2020-06-24 00:36:50 +02:00
Sam Hedin
4e0b863cd1 Merge branch 'master' of github.com:nushell/nushell 2020-06-24 00:07:50 +02:00
Sam Hedin
4bebfa2762 Rename direnv to autoenv 2020-06-24 00:07:00 +02:00
Sam Hedin
21ebfca368 Delete accidentally added todo.org file 2020-06-23 23:44:39 +02:00
Jonathan Turner
c56cbd0f6b
Cleanup header to work like before (#2039) 2020-06-24 06:51:06 +12:00
Arash Outadi
1420cbafe4
Refactor out RunnableContext from calculate (#2037) 2020-06-24 06:24:33 +12:00
Joseph T. Lyons
053bd926ec
First pass at updating all documentation formatting and cleaning up output of examples (#2031) 2020-06-24 06:21:47 +12:00
Sam Hedin
c8a7116ec7 fmt 2020-06-23 19:54:07 +02:00
Sam Hedin
16b5e82a7e Nicer errors 2020-06-23 19:42:13 +02:00
Sam Hedin
b0db689065 Merge branch 'errors' into direnv-rewrite 2020-06-23 19:20:36 +02:00
Sam Hedin
b85a2529e3 Errors print, but not nicely 2020-06-23 19:19:38 +02:00
Sam Hedin
595b188855 Errors 2020-06-23 18:37:50 +02:00
Darren Schroeder
d095cb91e4
bump which from 3 to 4.0.1 (#2035)
This release should work with reparse points like WinGet.
2020-06-22 12:58:10 -05:00
Sam Hedin
19f27c3cd7 Satisfy fmt 2020-06-22 19:04:46 +02:00
Sam Hedin
7e19a4deb4 Update error description 2020-06-22 18:45:14 +02:00
Sam Hedin
3d213a63c5 Non-working errors 2020-06-22 18:42:46 +02:00
Sam Hedin
632c6d1cd9 Nicer errors for autoenv commands 2020-06-22 17:32:44 +02:00
Sam Hedin
59cd51b132 Clippy 2020-06-22 16:53:27 +02:00
Sam Hedin
0215e4c1b6 Merge remote-tracking branch 'upstream/master' into direnv-rewrite 2020-06-22 16:42:54 +02:00
Sam Hedin
a9469743bc Remove unused code 2020-06-22 16:32:04 +02:00
Sam Hedin
a53368ccc8 Use trust functionality when setting vars 2020-06-22 16:28:29 +02:00
Sam Hedin
0d44ddd798 Check hashes 2020-06-22 16:12:03 +02:00
Sam Hedin
3a0ada6486 Start using autoenv 2020-06-22 15:43:40 +02:00
Darren Schroeder
e8476d8fbb
removed some comments (#2032)
removed comments that i shouldn't have left in
2020-06-22 08:30:43 -05:00
Sam Hedin
e35c423796 Merge branch 'added-security-1965' of github.com:samhedin/nushell into added-security-1965 2020-06-22 14:03:58 +02:00
Sam Hedin
1ac8cd4392 Autoenv trust and untrust 2020-06-22 14:03:27 +02:00
Sam Hedin
a77c8d01fa Fix path 2020-06-22 13:56:57 +02:00
Sam Hedin
1b83248558 Fix path 2020-06-22 13:48:29 +02:00
bailey-layzer
7532618bdc
Add error for division by zero using "=" (#2002) (#2030)
* error for division by zero with =

* cargo fmt

* add helper zero_division_error

* tests for zero division error

* fix test names (zero div error)
2020-06-22 08:50:43 +12:00
Sam Hedin
15a8e26664 Revert "OsString and paths"
This reverts commit e6eedf8824.
2020-06-21 21:39:43 +02:00
Sam Hedin
e6eedf8824 OsString and paths 2020-06-21 21:25:40 +02:00
HiranmayaGundu
e3e1e6f81b
Adds a test case for changing drives using drive letter in Windows (#2022)
* added test case to test check switching drives using drive letter in windows

* modified test case to not use config, assert file exists
2020-06-22 07:02:58 +12:00
Sam Hedin
4a4d8c78fb ... actually add autoenv untrust this time 2020-06-21 20:59:38 +02:00
Sam Hedin
74fbf786c4 Add autoenv untrust command 2020-06-21 20:59:21 +02:00
Sam Hedin
2224d07b8a Optional directory arg 2020-06-21 19:59:48 +02:00
Sam Hedin
1cf177cbfd Use serde for autoenv 2020-06-21 19:40:32 +02:00
Sam Hedin
500192a642 toml 2020-06-21 19:04:37 +02:00
Sam Hedin
992522af66 autoenv trust toml 2020-06-21 15:05:27 +02:00