JT
7819210037
Add shortcircuiting boolean operators ( #4668 )
2022-02-27 17:02:53 -05:00
Fernando Herrera
10ceac998e
menu keybindings in default file ( #4651 )
...
* menu keybindings in default file
* remove print
* change keybinding
2022-02-27 08:41:04 -05:00
JT
446c2aab17
Lets internals also have exit codes ( #4664 )
2022-02-27 08:16:19 -05:00
LordMZTE
d2bd71d2aa
add LAST_EXIT_CODE variable ( #4655 )
2022-02-26 08:57:45 -05:00
Fernando Herrera
3eca43c0bb
Plugins without file ( #4650 )
...
* adding plugin location in script
* adding plugin location in script
2022-02-26 08:57:51 +00:00
JT
0c3ea636fb
Add support for stderr and exit code ( #4647 )
2022-02-25 14:51:31 -05:00
Darren Schroeder
2b377391c2
make message more readable ( #4646 )
...
* make message more readable
* monsieur clippy
2022-02-25 12:58:47 -06:00
JT
2b1e4dd242
Use external exceptions in path strings ( #4636 )
2022-02-25 05:00:30 -05:00
JT
cbad648d0e
Windows external exceptions ( #4632 )
2022-02-24 18:01:32 -05:00
JT
3c62d27c28
Try again with math-like externals ( #4629 )
...
* Try again with math-like externals
* clippy 1.59
* clippy 1.59
* clippy 1.59
2022-02-24 14:02:28 -05:00
JT
c984ce9dc9
Check for external exceptions more often ( #4628 )
2022-02-24 10:31:24 -05:00
JT
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
JT
25712760ba
Add support for math-like externals ( #4606 )
2022-02-22 10:55:28 -05:00
JT
9888f8f298
Add pipeline redirection support ( #4594 )
...
* redirection
* Remove commented-out
* fix tests
* more fixes
2022-02-21 17:22:21 -05:00
JT
6d4784a7c1
Make 'each' implicitly filter out nothings ( #4546 )
...
* Make 'each' implicitly filter out nothings
* another example
2022-02-21 15:49:08 -05:00
Darren Schroeder
e4dcdcb254
this little hack allows the color to be whatever the default is ( #4590 )
2022-02-21 12:46:04 -06:00
Darren Schroeder
88fa40d698
rename flatshape_*
to shape_*
( #4589 )
2022-02-21 12:27:21 -06:00
JT
41fa1ab656
Show errors when a prompt fails ( #4585 )
2022-02-21 10:46:19 -05:00
JT
07cd8f483e
Make sure to apply captures when setting prompt ( #4583 )
2022-02-21 09:48:05 -05:00
JT
a2c4c92fce
Remove record iteration ( #4582 )
...
* Remove record iteration
* Remove test
2022-02-21 09:12:04 -05:00
Joseph T. Lyons
4f367a59de
Strip trailing whitespace in files ( #4575 )
...
* Strip trailing whitespace in rs files
* Strip trailing whitespace in toml files
* Strip trailing whitespace in md files
* Strip trailing whitespace in nu files
2022-02-21 08:38:15 -05:00
Darren Schroeder
9b2a022f5b
tweak default config to amplify theme-ability ( #4572 )
...
* tweak default config to amplify theme-ability
* missed default of auto
2022-02-20 16:05:36 -06:00
JT
fd22211737
Add nuon format for fun ( #4401 )
...
* Add nuon format for fun
* more fun
* More nuon fixes, allow comments, improve errors
2022-02-20 16:26:41 -05:00
JT
2ba12afb01
A few fixes to docs generation and default config ( #4570 )
...
* A few fixes to docs generation and default config
* A few more fixes
2022-02-20 15:20:41 -05:00
Jakub Žádník
56aacc4852
Use environment variable for env_conversions ( #4566 )
...
* Handle string->value env conv. with env. var.
Also adds the environment variable for Path/PATH and removes it from
config.
* Simplify getting the string->value conversion
* Refactor env conversion into its own function
* Use env var for to_string conversion; Remove conf
* Fix indentation in default config
2022-02-20 16:27:59 +02:00
JT
643c5097d6
Default config improvements ( #4565 )
...
* Default config improvements
* Finish cleanup
* Add some comments
2022-02-20 07:48:46 -05:00
Fernando Herrera
52ee1917ba
default config file ( #4554 )
...
* default config file
* fmt on files
* default file in separate file
* log level flag for performance logs
* clippy error
2022-02-20 05:08:53 -05:00
Justin Ma
aea4355d04
refactor: change column names from 'Column*' to 'column*' ( #4556 )
2022-02-19 19:26:47 -05:00
Michael Angerman
a6c565ed4e
change wording on config file ( #4555 )
2022-02-19 19:25:07 -05:00
Fernando Herrera
965cea3af5
flag to pass config file in nu ( #4552 )
...
* flag to pass config file in nu
* return when no folder is created
* simple syntax for function
2022-02-19 14:54:43 -06:00
Fernando Herrera
0f4f660759
better keybinding parsing ( #4543 )
2022-02-18 19:00:23 -06:00
Jakub Žádník
c893cc1485
Add config to NuCompleter ( #4538 )
2022-02-18 13:54:13 -05:00
JT
06f9047be4
Add an explicit 'print' command ( #4535 )
2022-02-18 13:43:34 -05:00
JT
786e4ab971
Make 'for' implicitly filter out nothings ( #4536 )
...
* Make 'for' implicitly filter out nothings
* Fix test
2022-02-18 13:41:41 -05:00
Genna Wingert
a967854332
Fix stream printing on Windows ( #4527 )
...
Co-authored-by: Genna Wingert <wingertge@gmail.com>
2022-02-18 08:10:20 -06:00
Jakub Žádník
c7c427723b
Test support fixes ( #4517 )
...
* Fix failing pipeline()
The `skip(1)` was there likely to remove the welcome message.
* Fix typo
* Fix nu! test macro to enter cwd correctly
Nushell's current working directory is determined primarily by the PWD
environment variable.
2022-02-18 00:23:04 +02:00
Stefan Stanciulescu
d50ccdf083
Add newline after version printout ( #4508 )
2022-02-17 06:29:58 -06:00
JT
6e733f49bc
Require block params ( #4505 )
...
* Require block params
* Improve errors
2022-02-17 06:40:24 -05:00
Stefan Stanciulescu
f169a9be3b
Add version as a flag ( #4507 )
2022-02-17 05:02:46 -06:00
JT
5b6156687e
Use partial_cmp and make -i case insensitive ( #4498 )
...
* Use partial_cmp and make -i case insensitive
* Insensitive sort multiple columns
2022-02-16 11:12:49 -05:00
JT
644435bfe3
Move and enable with-env test ( #4489 )
2022-02-16 04:59:44 -05:00
JT
e763a8dcef
Auto-hide aliases to prevent recursion ( #4487 )
2022-02-15 17:36:24 -05:00
JT
56b3fc61a3
Remove statements, replaced by pipelines ( #4482 )
2022-02-15 14:31:14 -05:00
JT
9114a2d31d
Ensure that reduce has a valid span ( #4479 )
2022-02-15 07:59:51 -05:00
JT
84f85ff9ae
Fix to json
escape logic ( #4478 )
2022-02-15 06:55:57 -05:00
JT
fbaafaa459
Make param parsing more resilient, correct missing param error ( #4470 )
2022-02-14 12:33:47 -05:00
JT
f3d3e819fb
Fix main in scripts with captures ( #4468 )
...
* Fix main in scripts with captures
* Remove old comments
2022-02-14 10:53:48 -05:00
Andrew Barnes
77eb4c4188
Fix default duplicates column ( #4452 )
...
* Add test to ensure default not adding dup. columns
* Fix for default adding duplicate columns
2022-02-13 05:38:46 -05:00
Jakub Žádník
94a0e3060a
Update CI ( #4445 )
...
* Add different features combinations
* Specify styles manually
* Fix args
* Fix typo
* Let other CI jobs finish if one fails
* Fix unused symbols without plugin feature
* Put "which" tests behind "which" feature
* Add Python virtualenv job
* Oops forgot git command
* Install Nushell in virtualenv tests
* Add names to steps; Test v.env in separate step
* cd into virtualenv
* Do not run on Python 2.7
* Build Nushell after formatting and clippy checks
2022-02-12 22:48:17 +02:00
Jakub Žádník
328f7e92a0
Hide alias ( #4432 )
...
* Add alias interning
Now, AliasId is used to reference aliases stored in EngineState, similar
to decls, blocks, etc.
* Fix wrong message
* Fix using decl instead of alias
* Extend also alias id visibility
* Merge also aliases from delta
* Add alias hiding code
Does not work yet but passes tests at least.
* Fix wrong alias lookup and visibility appending
* Add hide alias tests
* Fmt & Clippy
* Fix random clippy warnings in "which" command
2022-02-12 11:50:37 +02:00