Jonathan Turner
136b5693cd
Fix adding at shallow depth
2019-08-20 15:36:52 +12:00
Jonathan Turner
ebf7250383
Merge pull request #299 from nushell/improve-question-mark
...
Reduce unwraps
2019-08-17 16:08:59 +12:00
Yehuda Katz
5bfb96447a
Reduce unwraps
...
Remove a number of unwraps. In some cases, a `?` just worked as is. I also made it possible to use `?` to go from Result<OutputStream, ShellError> to OutputStream. Finally, started updating PerItemCommand to be able to use the signature deserialization logic, which substantially reduces unwraps.
This is still in-progress work, but tests pass and it should be clear to merge and keep iterating on master.
2019-08-16 20:53:39 -07:00
Jonathan Turner
ec7d159c83
Switch to constraint solving the table
2019-08-17 08:03:29 +12:00
Yehuda Katz
0dc4b2b686
Add support for external escape valve (^dir
)
...
This commit makes it possible to force nu to treat a command as an external command by prefixing it with `^`. For example `^dir` will force `dir` to run an external command, even if `dir` is also a registered nu command.
This ensures that users don't need to leave nu just because we happened to use a command they need.
This commit adds a new token type for external commands, which, among other things, makes it pretty straight forward to syntax highlight external commands uniquely, and generally to treat them as special.
2019-08-15 15:18:18 -07:00
Jonathan Turner
e19c618ac5
Revert "Rewrite the ps command"
2019-08-11 13:41:21 +12:00
Jonathan Turner
7c2fec5851
Rewrite the ps command
2019-08-11 11:09:40 +12:00
Jonathan Turner
8f78995014
Improve enter and fix bugs
2019-08-11 08:18:14 +12:00
Jonathan Turner
eeed31837f
cleanup
2019-08-10 08:49:43 +12:00
Jonathan Turner
aadacc2d36
Merge master
2019-08-09 16:51:21 +12:00
Yehuda Katz
14a52bc282
WIP - more streamlining
2019-08-06 09:26:33 -07:00
Jonathan Turner
ae5b781159
More touchups to errors
2019-08-06 15:03:13 +12:00
Jonathan Turner
99671b8ffc
Move more parts to tags and away from spans
2019-08-05 20:54:29 +12:00
Yehuda Katz
fc173c46d8
Restructuring
2019-08-02 12:15:07 -07:00
Jonathan Turner
6b7d9c1de0
Add glob to ls
2019-08-02 15:10:06 +12:00
Jonathan Turner
db3ff52973
Add tags command and fix source_map transfer
2019-08-01 15:25:59 +12:00
Jonathan Turner
462f783fac
initial change to Tagged<Value>
2019-08-01 13:58:42 +12:00
Jonathan Turner
389d9988f3
Change list/object to better short names
2019-07-30 13:54:33 +12:00
Jonathan Turner
2464a33660
Progress the sys plugin a bit further
2019-07-28 08:09:25 +12:00
Jonathan Turner
a09361698e
Update plugin protocol for begin, and create new sys plugin
2019-07-27 19:45:00 +12:00
Yehuda Katz
73deeb69db
Clean up lint errors
2019-07-23 21:10:48 -07:00
Yehuda Katz
5a8e041a48
Tests pass!
2019-07-23 15:22:11 -07:00
Jonathan Turner
ec7d49b0d2
Add and edit functionality
2019-07-22 15:52:57 +12:00
Jonathan Turner
3b682046b7
new inc takes a path
2019-07-18 13:32:19 +12:00
Jonathan Turner
2ed46046bd
Cleanup for upcoming release
2019-07-17 07:10:25 +12:00
Jonathan Turner
3ebb6ba991
Fix plugin's commandconfig
2019-07-16 19:08:35 +12:00
Jonathan Turner
60f4436849
Merge pull request #181 from nushell/string-arg
...
Make signatures a little more general
2019-07-16 09:40:36 +12:00
Yehuda Katz
ded3462e82
Make signatures a little more general
2019-07-15 14:16:27 -07:00
Jonathan Turner
ae4d3ab4cf
Bump deps and add serde_bytes support
2019-07-16 06:34:44 +12:00
Jonathan Turner
720cc03649
Change 'file name' => 'name'. Same for type
2019-07-14 16:59:36 +12:00
Yehuda Katz
6bf55c0f1e
Remove more dead code and clean up JSON
2019-07-12 19:20:26 -07:00
Yehuda Katz
7c2a1c619e
Tests pass
2019-07-12 19:20:26 -07:00
Yehuda Katz
2da12aed56
Tests pass
2019-07-12 19:20:26 -07:00
Yehuda Katz
7b68739b52
WIP
2019-07-12 19:20:26 -07:00
Yehuda Katz
71adfb4cdc
WIP
2019-07-12 19:20:26 -07:00
Yehuda Katz
34033afce4
WIP improve error infrastructure
...
Also simplify commands and reduce papercuts
2019-07-12 19:20:26 -07:00
Jonathan Turner
65a0d27c8a
Add binary type and tree sink
2019-07-04 17:11:56 +12:00
Jonathan Turner
0180769971
WIP now load plugins automatically
2019-07-04 05:37:09 +12:00
Jonathan Turner
ccb3c92287
cleanup
2019-06-30 18:49:33 +12:00
Jonathan Turner
c3697c67ca
Make serialization full-fidelity
2019-06-30 18:46:49 +12:00
Yehuda Katz
3379c23a49
Support evaluating most expressions
...
Blocks, paths, and others
Plus a bunch of other infra improvements
2019-06-29 01:55:42 -07:00
Jonathan Turner
47f23cacc7
Add second plugin
2019-06-28 04:47:24 +12:00
Jonathan Turner
d5704808d4
First working plugin
2019-06-27 16:56:48 +12:00
Yehuda Katz
7957fc502f
Fix a bunch of bugs
2019-06-23 18:55:31 -06:00
Yehuda Katz
d0860837d2
Merge branch 'nom2' into nom4
2019-06-22 18:20:13 -04:00
Yehuda Katz
4036bf1ffd
&str -> Text
2019-06-22 16:46:16 -04:00
Jonathan Turner
9ae9beb94a
WIP
2019-06-22 15:43:37 +12:00
Yehuda Katz
e981129f1f
Things work
2019-06-21 21:36:57 -04:00
Jonathan Turner
b4eb32f1db
Touchups to external values
2019-06-19 17:51:24 +12:00
Jonathan Turner
108439f3d1
Add basic obj path indexing
2019-06-14 13:59:13 +12:00