JT
3176f60b5b
Merge pull request #243 from kubouch/module-files
...
Loading modules from files
2021-11-01 11:08:03 +13:00
JT
80a4a5eb28
Merge pull request #266 from luccasmmg/engine-q-math-2
...
Added math and min commands
2021-11-01 06:45:16 +13:00
Jakub Žádník
b340672331
Remove leftover test from previous iteration
2021-10-31 18:01:15 +02:00
Jakub Žádník
73ae3daf85
Add invalid UTF-8 error to use and source
...
Also changed the error message to be more universal.
2021-10-31 17:53:53 +02:00
Jakub Žádník
f182524298
Add TODO notes
2021-10-31 17:46:37 +02:00
Jakub Žádník
b7c0ba104f
Fix hiding module; Fmt
...
This fixes the case when you call `hide spam`. It will now hide all
commands you'd call like `spam foo` etc.
2021-10-31 17:38:00 +02:00
Jakub Žádník
7112664b3f
Fix wrong spans of multiple files
...
The introduction of `use <file.nu>` added the possibility of calling
`working_set.add_file()` more than once per parse pass. Some of the
logic handling the file contents offsets prevented it from working and
hopefully, this commit fixes it.
2021-10-31 17:22:10 +02:00
Luccas Mateus de Medeiros Gomes
5add6035a4
Added math and min commands
...
typo
Added op span
2021-10-31 08:06:32 -03:00
JT
e549c1112b
Merge pull request #267 from stormasm/range3
...
port the filter command range from nushell
2021-10-31 16:33:03 +13:00
Michael Angerman
da515b1c9d
port the filter command range from nushell
2021-10-30 10:51:20 -07:00
Jakub Žádník
2dcfecbbd7
Add test for multi-word alias
2021-10-29 23:57:33 +03:00
Jakub Žádník
751595e72e
Add multi-word name calling support
2021-10-29 23:50:28 +03:00
JT
a160d480b1
Merge pull request #265 from nushell/nu_var
...
Add some support for $nu
2021-10-30 08:23:49 +13:00
JT
cf3f3fde92
Add some support for
2021-10-30 07:15:17 +13:00
JT
6e6df46469
Merge pull request #264 from nushell/to_json
...
Add 'to json'
2021-10-29 19:58:10 +13:00
JT
624edce4f7
Add 'to json'
2021-10-29 19:26:29 +13:00
JT
520d9e1fb6
Merge pull request #262 from nushell/ctrlc
...
Add initial ctrl-c support
2021-10-28 17:22:48 +13:00
JT
37150af970
Merge pull request #260 from luccasmmg/engine-q-math-2
...
Added math avg
2021-10-28 17:14:49 +13:00
JT
bac8b8a450
Add initial ctrl-c support
2021-10-28 17:13:10 +13:00
Luccas Mateus de Medeiros Gomes
40ad9acbc3
Added math avg
...
Linting
Fix clippy warning
Fix list of records
2021-10-27 22:13:55 -03:00
JT
1308eb45d5
Merge pull request #261 from nushell/history_path
...
Make the history path more central
2021-10-28 13:37:01 +13:00
JT
f92e9d25a5
Make the history path more central
2021-10-28 13:30:58 +13:00
Jakub Žádník
4fc533340b
Add function that searches for multi-word commands
...
It doesn't do anything right now.
2021-10-28 00:53:28 +03:00
JT
c998bbbe6d
Merge pull request #259 from stormasm/last2
...
working on implementing the filters/last command
2021-10-28 07:00:40 +13:00
Michael Angerman
c114f41545
clippy fix
2021-10-27 08:35:42 -07:00
Michael Angerman
9baf720156
add in an example
2021-10-27 08:07:37 -07:00
Michael Angerman
4b31fe1924
code cleanup
2021-10-27 07:25:30 -07:00
Michael Angerman
656e86a7ca
got it working by turning it into a vec
2021-10-27 07:19:33 -07:00
Michael Angerman
5d62f1a9c1
compile error to show issue
2021-10-26 21:04:48 -07:00
Michael Angerman
6d6b850911
switched to a working function called rows_to_skip
2021-10-26 20:48:31 -07:00
Jakub Žádník
b5329fe4ec
Cleanup; Remove redundant UTF-8 check
2021-10-27 00:34:39 +03:00
Jakub Žádník
78256b4923
Fix syntax highlighting for new import patterns
2021-10-27 00:30:39 +03:00
Jakub Žádník
bd6c550470
Change import pattern delimiter to space
...
Subcommands and module imports will have the same syntax now.
2021-10-27 00:13:39 +03:00
Michael Angerman
95628bef16
sending off for JT to review
2021-10-26 13:45:10 -07:00
Michael Angerman
ca7ff37697
add in dbg info so I can see what is being matched on
2021-10-26 13:06:26 -07:00
Michael Angerman
0f27249319
Merge branch 'main' into last2
2021-10-26 12:49:08 -07:00
JT
1eb93e5c07
Merge pull request #257 from GabrielBG0/ls-type-lowercase
...
`ls` type lowercase
2021-10-27 08:46:45 +13:00
Michael Angerman
3625324bad
last is working also with the hard coded length, need to figure out how to get the length of the input
2021-10-26 11:46:03 -07:00
Michael Angerman
7e66aca18e
going to have to figure out how to clone input or some other solution
2021-10-26 11:29:00 -07:00
Jakub Žádník
595fc7a7f6
Switch to cross-platform fail message
2021-10-26 21:03:12 +03:00
Jakub Žádník
402a4acd7a
Fix leftover test
2021-10-26 21:03:12 +03:00
Jakub Žádník
a240aead8c
Add loading module from file
...
Currently, `use spam.nu` creates a module `spam`. Therefore, after the
first `use`, it is possible to call both `use spam.nu` and `use spam`
with the same effect.
2021-10-26 21:03:12 +03:00
Jakub Žádník
75b3b3e090
Add comments
2021-10-26 21:03:12 +03:00
Jakub Žádník
5163dbb7a1
Add tests and cover edge cases of the :: delim.
2021-10-26 21:03:12 +03:00
Jakub Žádník
cbda1b1650
Change import pattern delimiter to ::
2021-10-26 21:03:12 +03:00
Jakub Žádník
e66fd91045
Move module block parsing into its own function
2021-10-26 21:03:12 +03:00
Gabriel Borges Gutierrez
a29c333cb1
ls type lowercase
2021-10-26 15:02:45 -03:00
JT
0c7ec03ba0
Merge pull request #255 from nushell/par_each_sig
...
Fix par-each signature
2021-10-26 21:21:55 +13:00
JT
6b14f9d6b0
Fix par-each signature
2021-10-26 21:16:15 +13:00
JT
29dde84394
Merge pull request #254 from nushell/iter_perf
...
Some iter perf improvements
2021-10-26 16:28:42 +13:00