2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-14 13:08:41 +00:00
Commit graph

4942 commits

Author SHA1 Message Date
Jakub Žádník
56aacc4852
Use environment variable for env_conversions ()
* 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 ()
* Default config improvements

* Finish cleanup

* Add some comments
2022-02-20 07:48:46 -05:00
Fernando Herrera
52ee1917ba
default config file ()
* 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
JT
9ea5a2ecd3
Improve missing param error span () 2022-02-19 21:30:29 -05:00
JT
a32ce93c79
Improve full help for flags () 2022-02-19 21:25:52 -05:00
eggcaker
b92aaf0432
add custom header ability to post command () 2022-02-19 19:27:48 -06:00
Justin Ma
2ecae0ef43
Update , Regenerate all commands' docs () 2022-02-19 19:13:33 -06:00
Justin Ma
aea4355d04
refactor: change column names from 'Column*' to 'column*' () 2022-02-19 19:26:47 -05:00
Michael Angerman
a6c565ed4e
change wording on config file () 2022-02-19 19:25:07 -05:00
Darren Schroeder
7163721571
a few more ansi escape sequences () 2022-02-19 16:47:52 -06:00
Fernando Herrera
965cea3af5
flag to pass config file in nu ()
* 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
Joseph T. Lyons
efd62f917f
Reduce code duplication in to json command () 2022-02-19 14:46:20 -06:00
Justin Ma
ac99ac003a
Add example for cd,transpose,detect columns,split column and split row () 2022-02-19 09:24:48 -06:00
Joseph T. Lyons
3ecf17e7af
Fix ps command to show process name only ()
* Fix `ps` command to show process name only

* Remove `command_only` -  it is no longer being used
2022-02-18 19:48:52 -06:00
JT
da42100374
Update README.md 2022-02-18 20:30:58 -05:00
JT
dfc478e074
Update README.md 2022-02-18 20:30:23 -05:00
Joseph T. Lyons
28b5399fb7
Use join over custom join code () 2022-02-18 19:07:11 -06:00
Justin Ma
3f14b75153
feat: add examples for length,lines,reject,benchmark and drop column () 2022-02-18 19:03:24 -06:00
Fernando Herrera
0f4f660759
better keybinding parsing () 2022-02-18 19:00:23 -06:00
JT
d53eaac7a1
Improve comparison errors () 2022-02-18 17:11:27 -05:00
JT
f085bd97f6
Add some more builtin var completions () 2022-02-18 14:34:40 -05:00
Jakub Žádník
c893cc1485
Add config to NuCompleter () 2022-02-18 13:54:13 -05:00
Eli Flanagan
e5bf56a7dd
port post ()
This restores a basic version of the `post` command.
Some source types have been omitted from this first take.
I copied from `fetch` and from `post`@0.40.0.
Part of 
2022-02-18 13:53:10 -05:00
JT
06f9047be4
Add an explicit 'print' command () 2022-02-18 13:43:34 -05:00
JT
786e4ab971
Make 'for' implicitly filter out nothings ()
* Make 'for' implicitly filter out nothings

* Fix test
2022-02-18 13:41:41 -05:00
Jakub Žádník
f65955ccc5
Fix wrong FlatShape name of List () 2022-02-18 18:31:28 +02:00
Justin Ma
1235d516a5
Add examples for env,let-env,rm,touch and date list-timezone ()
* feat: update , add examples for env,let-env,rm,touch and date list-timezone

* fix typo

* update example for `date list-timezone` command
2022-02-18 18:19:37 +02:00
Justin Ma
dd11be03be
feat: update , add command examples for def, do, cp, mv, mkdir and ls () 2022-02-18 08:30:16 -06:00
Genna Wingert
a967854332
Fix stream printing on Windows ()
Co-authored-by: Genna Wingert <wingertge@gmail.com>
2022-02-18 08:10:20 -06:00
Justin Ma
a5f9ad2a43
Add or update examples for some commands ()
* chore: add or update examples for some commands

* chore: code formatting
2022-02-18 07:06:52 -06:00
Darren Schroeder
1377693f0f
standardize char nf terms () 2022-02-18 05:52:48 -05:00
Jakub Žádník
bccce0ab46
Use overlay ID for module import lookup ()
* Add id to import pattern

* Finish testing importing in a block
2022-02-17 20:58:24 -05:00
Jakub Žádník
c7c427723b
Test support fixes ()
* 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
Darren Schroeder
d4cd3f9578
allow dfr open to open tsv files () 2022-02-17 14:15:17 -06:00
Darren Schroeder
9415352447
remove $nu.keybinding-path () 2022-02-17 14:36:08 -05:00
Genna Wingert
8f5b857fcf
Fix ignore to run side effects of previous command ()
Co-authored-by: Genna Wingert <wingertge@gmail.com>
2022-02-17 12:49:54 -05:00
JT
fa75c93765
Slight cleanup of 'from json' line-at-a-time () 2022-02-17 12:49:31 -05:00
JT
393cb7ca6f
Treat ls for absolute paths as-is ()
* Absolute paths in ls are treated as-in

* Better fix
2022-02-17 12:49:20 -05:00
JT
f5f9d56c37
Move to a standard kebab/snake style () 2022-02-17 09:55:17 -05:00
Stefan Stanciulescu
d50ccdf083
Add newline after version printout () 2022-02-17 06:29:58 -06:00
JT
6e733f49bc
Require block params ()
* Require block params

* Improve errors
2022-02-17 06:40:24 -05:00
Stefan Stanciulescu
f169a9be3b
Add version as a flag () 2022-02-17 05:02:46 -06:00
Darren Schroeder
b8b2737890
make find case insensitive () 2022-02-16 19:42:40 -06:00
JT
d620f76a21
Make comparisons/sort-by more 'global' ()
* Make comparisons/sort-by more 'global'

* Let custom values do their own comparisons
2022-02-16 13:30:37 -06:00
Darren Schroeder
b64ac9eb7b
more test fixes ()
* more test fixes

* update multi-os err messages
2022-02-16 12:24:45 -06:00
JT
5b6156687e
Use partial_cmp and make -i case insensitive ()
* Use partial_cmp and make -i case insensitive

* Insensitive sort multiple columns
2022-02-16 11:12:49 -05:00
JT
c4e1559f89
Another batch of command tests ()
* Add a batch of command tests

* More tests
2022-02-16 07:38:02 -05:00
JT
644435bfe3
Move and enable with-env test () 2022-02-16 04:59:44 -05:00
Michael Angerman
bd96ce4e9c
add more examples to the sys command () 2022-02-15 21:06:38 -08:00
Darren Schroeder
7e6430def0
a few more tests () 2022-02-15 20:48:32 -05:00