Odin Dutton
b5db24f9ad
Fix typo in date command signature
2019-08-19 10:55:28 +10: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
Jonathan Turner
8a66a000e4
Add more polish to table wrap
2019-08-17 04:32:35 +12:00
Jonathan Turner
ffd60bb3af
Remove stray println
2019-08-16 17:56:23 +12:00
Jonathan Turner
eb6e24c220
Wrap table cells as needed
2019-08-16 17:47:47 +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
785536983a
Revert "Heuristic table view"
2019-08-16 04:49:07 +12:00
Jonathan Turner
efd9631a90
All tests pass
2019-08-15 17:46:19 +12:00
Jonathan Turner
dd18122a24
WIP
2019-08-15 17:02:02 +12:00
Andrés N. Robalino
cbf6eed2d7
Communicates unsupported feature the case where directories are found in globs whether we cp or mv
2019-08-14 17:00:11 -05:00
Andrés N. Robalino
154063013f
mv introduced. \¡Viva\!
2019-08-14 15:29:05 -05:00
Andrés N. Robalino
bd71773b5b
Extracted File traversal utility for use in other commands.
2019-08-14 15:29:05 -05:00
Andrés N. Robalino
278de0e517
cp refactoring.
2019-08-14 15:29:05 -05:00
Jonathan Turner
99b881e42f
Add first per-item commands
2019-08-15 05:02:39 +12:00
Jonathan Turner
156e72f694
Finish up heuristic for table printing
2019-08-14 04:33:59 +12:00
Jonathan Turner
123b1856c8
Attempt heuristic table
2019-08-13 19:45:31 +12:00
Jonathan Turner
4411a5b72c
Merge pull request #281 from jonathandturner/improve_arrays
...
Add from_array and improve array viewing
2019-08-12 18:16:08 +12:00
Jonathan Turner
3d5395fdd5
Add from_array and improve array viewing
2019-08-12 17:51:13 +12:00
Jonathan Turner
14e47f3d2c
Add nth command
2019-08-12 17:13:58 +12:00
Jonathan Turner
6cf3dc92fc
Add support for utf16 files
2019-08-12 16:11:42 +12:00
Jonathan Turner
7c4a4ec62e
Merge pull request #278 from androbtech/replace-and-find
...
Str plugin: replace & find-replace.
2019-08-12 06:46:49 +12:00
Andrés N. Robalino
cee2f5207e
Str plugin: replace & find-replace.
2019-08-11 12:46:14 -05:00
Jonathan Turner
a6933ebe49
Add space for pagedown
2019-08-12 05:29:25 +12:00
Jonathan Turner
aea8bbf945
Clean up ghz view
2019-08-11 15:33:26 +12:00
Jonathan Turner
8e652850dc
add some battery stats
2019-08-11 15:01:09 +12:00
Jonathan Turner
72aa433802
Merge pull request #268 from androbtech/additive-nushellacturing
...
Additive nushellacturing.
2019-08-11 14:03:15 +12: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
1cc661b916
Remove comments
2019-08-11 10:13:58 +12:00
Jonathan Turner
894958d5e8
Improve sys a bit
2019-08-11 10:13:03 +12:00
Jonathan Turner
d07a3928b2
Fix test failure
2019-08-11 08:33:22 +12:00
Jonathan Turner
8f78995014
Improve enter and fix bugs
2019-08-11 08:18:14 +12:00
Andrés N. Robalino
e744237451
Clean up.
2019-08-10 05:56:47 -05:00
Andrés N. Robalino
5372463b37
Extract tests.
2019-08-10 04:40:32 -05:00
Andrés N. Robalino
cb4b2e6116
Inc refactoring. More tests.
2019-08-10 04:38:28 -05:00
Jonathan Turner
c97578bf6e
Add which command
2019-08-10 19:06:08 +12:00
Jonathan Turner
60e7dfcf1b
Add back command completions
2019-08-10 17:02:15 +12:00
Jonathan Turner
eeed31837f
cleanup
2019-08-10 08:49:43 +12:00
Jonathan Turner
34759b7646
Add back in cd/ls and completions
2019-08-10 07:42:23 +12:00
Jonathan Turner
cabd5bf009
Fix sink plugins
2019-08-09 19:54:21 +12:00
Jonathan Turner
83030094e0
All tests pass
2019-08-09 17:36:43 +12:00
Jonathan Turner
aadacc2d36
Merge master
2019-08-09 16:51:21 +12:00
Jonathan Turner
80bcc51294
get tests passing by fixing classifying external
2019-08-08 17:09:38 +12:00
Jonathan Turner
b173fa6303
Fix table print for ls
2019-08-08 16:57:38 +12:00
Jonathan Turner
e8ae46ddb5
Fix the canonicalize of set_path
2019-08-08 12:52:29 +12:00
Andrés N. Robalino
ba6d62ea0c
mkdir creates intermediary directories as required (the default). --create-all/--deep flag removed.
2019-08-07 14:38:00 -05:00
Andrés N. Robalino
50393bdf42
Make more visible the strategies for figuring out where to copy files.
2019-08-07 13:42:52 -05:00
Andrés N. Robalino
e0bacaaf37
clean up. more cp. mkdir. more test coverage. fixes.
...
- Introduced mkdir.
- Minor more labelled error improvements.
- Fix to avoid leaking child zombies.
- cp improvements.
- Introduced mkdir.
2019-08-07 13:28:46 -05:00