Commit Graph

2488 Commits

Author SHA1 Message Date
Jonathan Turner
fcbaefed52
Nu table (#2015)
* WIP

* Get ready to land nu-table

* Remove unwrap
2020-06-20 15:41:53 +12:00
Darren Schroeder
77e02ac1c1
Fixed grammar (#2012) 2020-06-19 20:54:25 -05:00
Joseph T Lyons
088901b24f Rename average to avg 2020-06-19 18:59:00 -05:00
Darren Schroeder
ed7a62bca3
textview config docs (#2011)
* documentation for bat config changes

* renamed to textview, added fetch example

Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-06-19 15:45:56 -05:00
Darren Schroeder
6bfd8532e4
Bat config (#2010)
* WIP - changes to support bat config

* added bat configuration

* removed debug info

* clippy fix

* changed [bat] to [textview]

Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-06-19 15:08:59 -05:00
Joseph T. Lyons
bc9cc75c8a
Minor Math Sum Additions (#2007)
* Move sum tests into math directory

* Move sum documentation over to math documentation

One sum example already existed in the math examples and a few of the others were outdated and didn't work, so I only moved one over, and updated their output

* Remove no-longer-in-use mod statement
2020-06-20 06:00:18 +12:00
Joseph T. Lyons
53a6e9f0bd
Convert sum command into subcommand of the math command (#2004)
* Convert sum command into subcommand of the math command

* Add bullet points to math.md documentation
2020-06-18 21:02:01 -05:00
Andrés N. Robalino
5f9de80d9b Math#media - ability to compute median value. 2020-06-18 16:59:43 -05:00
Joseph T. Lyons
353b33be1b
Add support to allow the week day start in cal to be configured via a flag (#1996)
* Add support to allow the week day start in cal to be configurable

* Fix variable name

* Use a flag instead of a configuration setting for specifying the starting day of the week
2020-06-19 05:34:51 +12:00
Sam Hedin
a54a596afd Initialize autoenv and autoenv trust 2020-06-18 18:58:50 +02:00
Sam Hedin
35bb9f2d1e Init autoenv command 2020-06-18 07:36:53 +02:00
Sam Hedin
a173817889 Cleanup, stop tracking overwritten values as nu takes care of it 2020-06-18 07:25:45 +02:00
Sam Hedin
acd3215b36 Remove overwritten values tracking, as it is not needed 2020-06-18 07:19:30 +02:00
Andrés N. Robalino
96d58094cf Fix regression. skip-until 'skips' until condition is met. 2020-06-17 14:08:09 -05:00
Andrés N. Robalino
94aac0e8dd Remove unused pattern matched tag fields. 2020-06-17 13:34:17 -05:00
Andrés N. Robalino
9f54d238ba Refactoring and more split-by flexibility. 2020-06-17 13:34:17 -05:00
Andrés N. Robalino
778e497903 Refactoring and more group-by flexibility. 2020-06-17 13:34:17 -05:00
Sam Hedin
2e4df38c83 todo.org 2020-06-17 14:17:26 +02:00
Sam Hedin
1611c7a78b Merge branch 'direnv-rewrite' 2020-06-17 14:06:24 +02:00
Sam Hedin
233d864f47 Restore overwritten vals code 2020-06-17 14:06:10 +02:00
Sam Hedin
f052d779b9 Merge branch 'direnv-rewrite' 2020-06-17 14:01:43 +02:00
Sam Hedin
727af8ca4e Refactoring 2020-06-17 14:00:24 +02:00
Sam Hedin
240dc9501e Merge branch 'direnv-rewrite' of github.com:samhedin/nushell into direnv-rewrite 2020-06-17 13:28:28 +02:00
Sam Hedin
542d7ac2a1 Ready for testing 2020-06-17 13:27:37 +02:00
Sam Hedin
b6a7f56a1e Reworking adding of vars 2020-06-17 12:18:40 +02:00
Sam Hedin
dbfd0979a6 Reworking adding of vars 2020-06-17 01:29:52 +02:00
Sam Hedin
688df20a30 Error handling 2020-06-17 00:23:03 +02:00
Sam Hedin
1e11f0713a Move outside of loop 2020-06-17 00:09:42 +02:00
Darren Schroeder
6914099e28
Cat with wings (#1993)
* WIP - Modified textview to use bat crate

* use input_from_bytes_with_name instead of input_file

* removed old paging
added prettyprint on else blocks
duplicated  too much code
hard coded defaults

Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-06-16 16:17:32 -05:00
Joseph T. Lyons
1b6f94b46c
Cal command code cleanup (#1990)
* Cal command code cleanup

* Reverting "index_map" back to "indexmap", since that is the convention used in the system
2020-06-17 08:00:49 +12:00
Jakub Žádník
3d63901b3b
Add 'every' command to select (or skip) every nth row (#1992)
* Add 'every' command

* Add --skip option to 'every' command

This option skips instead of selects every nth row

* Fix descriptions for 'every' command

* Add docummentation for 'every' command

* Check actual filenames in 'every' command tests
2020-06-17 07:58:41 +12:00
Arash Outadi
eb1ada6115
issue1332 - Fix for yamls with unquoted double curly braces (#1988)
* Gnarly hardcoded fix

* Whoops remove println
2020-06-17 07:12:04 +12:00
Sam Hedin
fb1839971a Add TODO file 2020-06-16 19:20:04 +02:00
Sam Hedin
2f4f8632de nicer errors 2020-06-16 11:01:11 +02:00
Sam Hedin
4e0a0df8a8 Error handling and refactoring 2020-06-15 21:38:33 +02:00
utam0k
831111edec
Pass the borrow instead of clone. (#1986) 2020-06-16 05:35:24 +12:00
Sam Hedin
06b1122564 Working? 2020-06-15 18:31:04 +02:00
Sam Hedin
28f01e92b7 Deletion almost works 2020-06-15 18:21:27 +02:00
Sam Hedin
6a0b4d1122 Add type aliases for String and OsString 2020-06-15 18:15:30 +02:00
Sam Hedin
26ec9cf432 Clippy 2020-06-15 15:48:14 +02:00
Sam Hedin
4905e83a9d Merge branch 'direnv-rewrite' of github.com:samhedin/nushell into direnv-rewrite 2020-06-15 15:44:23 +02:00
Sam Hedin
730f9ca30a Error handling 2020-06-15 15:42:09 +02:00
Jonathan Turner
29ea29261d
Bump to 0.15.1 (#1984) 2020-06-15 09:54:30 +12:00
Jonathan Turner
ee835f75db
Last batch of removing async_stream (#1983) 2020-06-15 09:00:42 +12:00
Arash Outadi
bd7ac0d48e
Math Documentation (#1982)
* Adding math docs

* Add some comments to calculate

* Remove redudant message

Message already shows up in subcommands list

* Added not working example

Accidentantly

* Remove table
2020-06-15 08:42:15 +12:00
Sam Hedin
309f5e02a0 Performance concerns 2020-06-14 15:10:21 +02:00
Sam Hedin
b5923d0cd3 Performance concerns 2020-06-14 14:59:25 +02:00
Sam Hedin
97bad0e4de Untrack removed vars properly 2020-06-14 12:18:45 +02:00
Sam Hedin
3fbbe6e322 Refactor restore function 2020-06-14 11:37:20 +02:00
Sam Hedin
0beb32de52 Overwritten env values tracks an indexmap instead of vector 2020-06-14 10:48:08 +02:00