JT
54d9fff4f2
Revert "Alias to keywords (eg source
) ( #4835 )" ( #4841 )
...
This reverts commit c023d4111a
.
2022-03-13 13:38:16 -07:00
Fernando Herrera
6e65aef9bf
remove cmd from edit ( #4840 )
2022-03-13 20:05:13 +00:00
Jakub Žádník
72daf8c64e
Fix reporting of which
and $nu.scope
( #4836 )
...
* Refactor & fix which
Instead of fetching all definitions / aliases, only show the one that is
visible.
* Fix $nu.scope to show only visible definitions
* Add missing tests file; Rename one which test
2022-03-13 21:32:46 +02:00
JT
c023d4111a
Alias to keywords (eg source
) ( #4835 )
...
* Allow aliasing source
* Add test
2022-03-13 11:30:37 -07:00
JT
ff3dffd813
Nu glob ( #4818 )
...
* Fork glob. Normalise license holder
* Fix more licenses
* unwraps
* bad doc test
2022-03-13 11:30:27 -07:00
Fernando Herrera
30bb090cd4
str to datetime dfr ( #4833 )
...
* str to datetime dfr
* change description
2022-03-13 13:53:13 +00:00
Andrew Barnes
dfffd45bcd
Streaming support for lines with raw streams ( #4832 )
2022-03-13 04:52:55 -07:00
Jakub Žádník
c73d8d5f95
Add LIB_DIRS and PLUGIN_DIRS ( #4829 )
...
* Add LIB_DIRS and PLUGIN_DIRS
* Put plugin dirs behind plugin feature
2022-03-12 22:12:15 +02:00
Darren Schroeder
0ff9cc679e
add $nu.pid
( #4828 )
2022-03-12 10:54:59 -06:00
Darren Schroeder
b342270112
update edit: cmd: undo syntax ( #4826 )
2022-03-12 09:37:19 -06:00
Darren Schroeder
ccc85a2979
remove $nu.cwd
( #4824 )
2022-03-12 09:11:19 -06:00
Fernando Herrera
005301647a
equal comparisson series string ( #4823 )
2022-03-12 13:15:30 +00:00
Fernando Herrera
5fcc670860
allow list to keybinding mode ( #4821 )
...
* allow list to keybinding mode
* added comments to default.nu
2022-03-12 11:51:08 +00:00
Jakub Žádník
90b2ec537f
Do not pass non-string env vars to externals ( #4748 )
...
* Do not pass non-string env vars to externals
Also misc cleanup
* Add note to default config
* Add a test
* Ensure PATH/Path conversion list <-> string
2022-03-12 00:18:39 +02:00
Justin Ma
f3626f7c3a
Update docs for open and decode command, regenerate all docs ( #4815 )
...
* Update docs for open and decode command, regenerate all docs
* Update open.rs
* Update open.md
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-11 05:39:54 -05:00
Fernando Herrera
7debb27d78
corrected history menu ( #4814 )
2022-03-10 20:58:11 +00:00
Daniella Mesquita
675d30d980
Icon for .nu files' mimetype ( #4813 )
...
* Icon for .nu files' mimetype
Icon that should be displayed at every .nu script in a file explorer.
Later, a post-install script will be submitted; this script will install the mimetype+icon and the handler for doubleclicking/openning .nu files.
Signed-off-by: Daniell Mesquita <daniellmesquita@protonmail.com>
* Complement previous commit
As per request, using author name in icon. Also, using the updated name.
Signed-off-by: Daniell Mesquita <daniellmesquita@protonmail.com>
2022-03-10 13:33:21 -06:00
Darren Schroeder
2f70442165
nushell icons contributed by the community ( #4812 )
2022-03-10 12:05:01 -06:00
Justin Ma
ce690ed18f
Bump sysinfo version from v0.22.2 to v0.23.5, close #3909 ( #4810 )
2022-03-10 11:38:32 -05:00
Darren Schroeder
14dc662e50
reorganize features a bit ( #4807 )
2022-03-10 07:37:24 -06:00
JT
ffa3aaaa56
bump reedline ( #4806 )
2022-03-10 08:22:49 -05:00
JT
2b3843c7c0
ensure exit codes in more cases ( #4804 )
2022-03-10 07:32:46 -05:00
JT
9abb14b5fd
ensure exit codes in more cases ( #4803 )
2022-03-10 06:29:23 -05:00
JT
12bf23faa6
Move completions to DeclId ( #4801 )
...
* Move completions to DeclId
* fmt
* fmt
2022-03-10 09:49:02 +02:00
Justin Ma
643cce8a6f
Mark match
as deprecated command ( #4802 )
2022-03-09 20:58:42 -06:00
JT
3bdd924349
Fixes the panic when using externs + string interpolation ( #4799 )
2022-03-09 13:01:23 -05:00
JT
be43b3c5fc
Allow passing block literals to do ( #4798 )
2022-03-09 09:56:19 -05:00
JT
355b1d9929
Simplify empty?
, improve default
( #4797 )
...
* Simplify empty?, improve default
* improve test
2022-03-09 08:46:28 -05:00
Justin Ma
0d82d7df60
Update documents for commands ( #4796 )
...
* Update documents of commands
* Change plugin names for register command examples
* Remove unused docs [ci skip]
2022-03-09 08:05:35 -05:00
JT
8fcf51908a
Fix expansion of row condition implied it ( #4795 )
2022-03-09 08:05:03 -05:00
JT
0835073d85
Adds the proper workarounds for short flags ( #4794 )
2022-03-09 08:04:50 -05:00
JT
925e9f4dcb
Allow quotes in a register
call ( #4793 )
2022-03-09 07:06:44 -05:00
JT
e0fac7bc72
Change select
to match 0.44 ( #4792 )
2022-03-09 07:05:55 -05:00
JT
fac086c826
Make reduce -n
more sensible ( #4791 )
2022-03-09 05:56:08 -05:00
JT
088d19ad47
Make date values more readable ( #4790 )
2022-03-09 05:43:04 -05:00
JT
99f7636b03
Remove duplicate code ( #4789 )
2022-03-09 05:21:11 -05:00
JT
2ac990655e
Add support for var decl spans ( #4787 )
2022-03-09 04:42:19 -05:00
Darren Schroeder
4ddf24269a
changed cargo.toml so plugins don't build with features=extra ( #4788 )
...
* changed cargo.toml so plugins don't build with features=extra
* remove comments
2022-03-08 20:05:58 -06:00
Darren Schroeder
b73af3b8df
add ability to check if value does not contain something ( #4783 )
2022-03-08 09:10:01 -06:00
JT
dc0c5a9772
Revert "Make if
blocks work like a def-env ( #4656 )" ( #4782 )
...
This reverts commit 477f3be8df
.
2022-03-08 08:29:12 -05:00
JT
477f3be8df
Make if
blocks work like a def-env ( #4656 )
...
* Make `if` work like a def-env
* Add some tests
* Add an example
2022-03-08 07:45:47 -05:00
Justin Ma
ae7c0b1097
Fix broken link in readme, should close #4776 [ci skip] ( #4778 )
2022-03-08 06:30:11 -05:00
Fernando Herrera
cede9b3156
reedline bump ( #4779 )
2022-03-08 09:20:28 +00:00
JT
299fea8538
Fix external extra ( #4777 )
...
* Fix empty table from externals
* Fix empty table from externals
2022-03-07 20:17:33 -05:00
Darren Schroeder
35ff1076f3
add ansi escape ( #4772 )
...
* add ansi escape
* also add the ability to escape parens
* add a few more escapes that could be problematic for the nushell lang
2022-03-07 16:39:16 -06:00
Genna Wingert
073f8655eb
Remove unused ntdef.h
include ( #4767 )
2022-03-07 15:11:45 -06:00
JT
1837bf775c
Default values ( #4770 )
2022-03-07 15:08:56 -05:00
Fernando Herrera
a3df2e5631
reedline bump ( #4766 )
...
* reedline bump
* reedline bump
2022-03-07 17:51:14 +00:00
Genna Wingert
0a95bc7e60
Add serialization for JSON and form bodies in post
( #4764 )
...
* Add serialization for JSON and form bodies in `post`
* Reuse code from `to json` instead of duplicating
* Fix formatting. Oops
2022-03-07 10:49:45 -06:00
JT
a2723c2ba4
Fix rest parsing ( #4765 )
...
* More nuon tests, fix table print
* Fix rest type parsing
2022-03-07 11:44:27 -05:00