JT
983d115bc0
Add an alias denylist for expansions ( #4871 )
2022-03-19 08:03:57 +13:00
Darren Schroeder
5a1af4d661
fixed a couple more tests ( #4870 )
2022-03-18 12:35:28 -05:00
Darren Schroeder
4f05e9f4a6
add a display of what the colors look like in ansi --list
( #4866 )
...
* add a display of what the colors look like in `ansi --list`
* change 'color' to 'preview' - add the ability to turn it off via config with use_ansi_coloring
2022-03-18 06:27:33 -05:00
JT
7773c4cd4d
Fix single quote external interpolation ( #4867 )
2022-03-18 19:59:28 +13:00
JT
d0cbb2d12c
Allow expanding aliases before keywords, improve hiding ( #4858 )
...
* Allow aliasing source
* Add test
* improve hiding
* Finish adding tests
* fix test
2022-03-18 11:35:50 +13:00
JT
0986eefb64
Add insert and update back ( #4864 )
2022-03-18 06:55:02 +13:00
Darren Schroeder
6e69d40bb9
some tweaks to main for testing ( #4862 )
2022-03-17 11:32:54 -05:00
Stefan Holderbach
9db356e174
Remove nu-ansi-term from the tree, use reedline 0.3 ( #4850 )
...
To simplify use of nu-ansi-term in both nushell/nushell and
nushell/reedline remove it from the workspace to have a separate
progression of version numbers.
This allows reedline to use the latest published version and nushells
workspace to use the same most recent version
Changes the `Cargo.toml`s to use reedline from crates.io
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-17 15:29:52 +13:00
Darren Schroeder
6700fbeed7
rename update
to upsert
to mirror what it really does ( #4859 )
...
* rename `update` to `upsert` to mirror what it really does
* change to latest reedline and nu-ansi-term
2022-03-16 19:13:34 -05:00
Darren Schroeder
ca12f39db3
added nu-utils
crate, fixed issue where externals turn off vt processing ( #4857 )
...
* added `nu-utils` crate, fixed issue where externals turn off vt processing
* hopefully make work in non-windows environments
* clippy
2022-03-16 17:21:06 -05:00
Darren Schroeder
460d635ed0
update so that --log-level
will work properly ( #4856 )
2022-03-17 08:58:11 +13:00
Charles Dixon
1a16b9a2c4
Move repl loop and command/script execution to nu_cli ( #4846 )
...
* Refactor usage of is_perf_true to be a parameter passed around
* Move repl loop and command/script execution to nu_cli
* Move config setup out of nu_cli
* Update config_files.rs
* Update main.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-17 07:17:06 +13:00
JT
0bd8664f33
Fix string interpolation escaping ( #4854 )
2022-03-16 05:09:30 +13:00
Michael Angerman
762da0989c
now that docs/commands is gone delete make_docs.nu as it is no longer needed ( #4853 )
2022-03-14 20:50:46 -07:00
Michael Angerman
65baeaecd4
delete docs/commands ( #4851 )
2022-03-14 21:00:30 -05:00
Reilly Wood
cb5d997adf
Change update help+examples for creating new columns ( #4849 )
...
* Change update help/examples for creating new column
* Enable example tests for update command
2022-03-14 15:32:33 -05:00
Justin Ma
10d805c1fa
feat: fix and update some examples ( #4844 )
2022-03-14 07:41:09 -05:00
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