1
0
mirror of https://github.com/nushell/nushell.git synced 2024-12-21 14:42:07 +01:00
Commit Graph

728 Commits

Author SHA1 Message Date
Jonathan Turner
7b2b671b1e
Merge pull request from twe4ked/version-command
Introduce version command
2019-08-19 14:06:04 +12:00
Odin Dutton
4de6c941e1 Introduce version command 2019-08-19 11:30:29 +10:00
Andrés N. Robalino
5dd20850b5 Refactoring and unwrap cleanup beginnings. 2019-08-18 20:28:55 -05:00
Jonathan Turner
e727f61d1d
Merge pull request from twe4ked/date-signature-typo
Fix typo in date command signature
2019-08-19 13:11:03 +12:00
Odin Dutton
b5db24f9ad Fix typo in date command signature 2019-08-19 10:55:28 +10:00
Jonathan Turner
81d83d7655
Update README.md 2019-08-18 15:27:03 +12:00
Jonathan Turner
ebf7250383
Merge pull request 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
37000c7c31
Merge pull request from jonathandturner/table_constraint_solve
Switch to constraint solving the table
2019-08-17 08:21:29 +12:00
Jonathan Turner
ec7d159c83 Switch to constraint solving the table 2019-08-17 08:03:29 +12:00
Jonathan Turner
0db77c911d
Merge pull request from jonathandturner/polish_on_wrap
Add more polish to table wrap
2019-08-17 04:51:28 +12:00
Jonathan Turner
8a66a000e4 Add more polish to table wrap 2019-08-17 04:32:35 +12:00
Jonathan Turner
7dbaf150d2
Merge pull request from jonathandturner/table_cell_wrap
Wrap table cells as needed
2019-08-16 18:17:08 +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
Jonathan Turner
3b0c9ebf28
Merge pull request from nushell/external-escape-valve
Add support for external escape valve (`^dir`)
2019-08-16 12:42:10 +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
bb580a46d6
Merge pull request from nushell/revert-283-heuristic_table
Revert "Heuristic table view"
2019-08-16 05:05:32 +12:00
Jonathan Turner
785536983a
Revert "Heuristic table view" 2019-08-16 04:49:07 +12:00
Jonathan Turner
0d09f6ab7f
Merge pull request from androbtech/shellring-coverage
shellring traversal and filesystem environment retention per session.
2019-08-15 19:27:43 +12:00
Andrés N. Robalino
024f0915a3 Shellring traversal and filesystem environment retention per session confirmed. 2019-08-15 02:10:33 -05:00
Jonathan Turner
7bb62af46f
Merge pull request from jonathandturner/more_per_item
Add more support for per-item
2019-08-15 18:53:20 +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
Jonathan Turner
d11d840f0f
Merge pull request from androbtech/mv-and-bitsmoar
Moving file/dir in place and some refactored a little.
2019-08-15 13:37:10 +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
75e3c6f547 copies_expected -> expected. Use expected as test dirname expectation outcomes from now on. 2019-08-14 16:05:35 -05:00
Andrés N. Robalino
121237ee4b Reverted test removal from (dfcbaed) 2019-08-14 15:55:26 -05:00
Andrés N. Robalino
154063013f mv introduced. \¡Viva\! 2019-08-14 15:29:05 -05:00
Andrés N. Robalino
dfcbaed1c6 More descriptive test playground names for commands other than the basic ones. 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
0b9248cbba
Merge pull request from jonathandturner/per_item
Add first per-item commands
2019-08-15 05:57:19 +12:00
Jonathan Turner
99b881e42f Add first per-item commands 2019-08-15 05:02:39 +12:00
Jonathan Turner
79fd635b5f
Merge pull request from jonathandturner/heuristic_table
Heuristic table view
2019-08-14 04:58: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 from jonathandturner/improve_arrays
Add from_array and improve array viewing
2019-08-12 18:16:08 +12:00
Jonathan Turner
e0640d7791
Merge pull request from jonathandturner/nth
Add nth command
2019-08-12 17:53:16 +12:00
Jonathan Turner
3d5395fdd5 Add from_array and improve array viewing 2019-08-12 17:51:13 +12:00
Jonathan Turner
56a437b14b update readme 2019-08-12 17:19:22 +12:00
Jonathan Turner
14e47f3d2c Add nth command 2019-08-12 17:13:58 +12:00
Jonathan Turner
7bc9b7a758
Merge pull request from jonathandturner/utf16
Add support for utf16 files
2019-08-12 16:33:45 +12:00
Jonathan Turner
6cf3dc92fc Add support for utf16 files 2019-08-12 16:11:42 +12:00
Jonathan Turner
7c4a4ec62e
Merge pull request from androbtech/replace-and-find
Str plugin: replace & find-replace.
2019-08-12 06:46:49 +12:00
Andrés N. Robalino
fc38603de8 Test sample changed to check behavior with strings on different operating systems. 2019-08-11 13:18:42 -05:00
Andrés N. Robalino
cee2f5207e Str plugin: replace & find-replace. 2019-08-11 12:46:14 -05:00
Jonathan Turner
bd9af7a0b5
Merge pull request from nushell/jonathandturner-patch-2
Add space for pagedown
2019-08-12 05:44:56 +12:00
Jonathan Turner
a6933ebe49
Add space for pagedown 2019-08-12 05:29:25 +12:00
Jonathan Turner
20b909e316
Switch to rustyline git 2019-08-12 05:18:48 +12:00