Darren Schroeder
efd9c5c7c3
type-o
2022-01-18 07:42:12 -06:00
JT
f562a4526c
Fix clippy lints ( #4262 )
...
* Fix clippy lints
* Fix clippy lints
* Fix clippy lints
2022-01-18 23:33:28 +11:00
Guillaume Gomez
e6c09f2dfc
Update sysinfo version ( #4261 )
2022-01-18 22:37:52 +11:00
dependabot[bot]
73a68954c4
Bump follow-redirects from 1.14.4 to 1.14.7 in /samples/wasm ( #4258 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 22:37:06 +11:00
Fernando Herrera
20eb348896
simple keybinding parsing ( #768 )
2022-01-18 08:48:28 +00:00
Darren Schroeder
2c75aabbfc
allow size
and other to count bytes from binary with as_string()
( #769 )
2022-01-17 17:41:59 -06:00
Stefan Holderbach
01e691c5ba
Fix unicode word wrapping with ansi-cut ( #767 )
...
Ansi-cut expects ranges of character numbers (of the non-ansi control
sequence characters) instead of byte indices.
This fixes the panics when wrapping of non-unicode lines (which exceed
the demanded number of characters as byte indices).
Also rectifies some wrong wrapping of unicdoe containing lines that
don't panic
2022-01-17 15:31:21 -05:00
Darren Schroeder
ac36f32647
remove dialoguer completions in favor of reedline's ( #766 )
2022-01-17 09:51:44 -06:00
Darren Schroeder
085a7c18cb
fix signature ( #765 )
2022-01-17 09:14:33 -06:00
JT
0f85646d8e
Let 'to toml' output block source ( #763 )
2022-01-17 19:25:12 +11:00
Darren Schroeder
c55b6c5ed5
fix list formatting ( #762 )
2022-01-16 16:40:40 -06:00
JT
283a615ecc
Enter now requires a directory ( #761 )
2022-01-17 03:14:34 +11:00
JT
9b128b7a03
Add rest to get, bump reedline ( #760 )
2022-01-17 02:40:11 +11:00
Jakub Žádník
bfe3c50dce
Fix empty entry in ls ( #759 )
2022-01-17 02:40:00 +11:00
Onur Şahin
5fae96a6b1
Fix not equal returning error when same things are compared in some cases ( #709 )
...
* Fix not equal returning error when same things are compared in some cases
* Equality operators supports all type combinations
2022-01-17 01:34:20 +11:00
Jakub Žádník
3b4baa31b6
Fix ls relative path & command argument path expansion ( #757 )
...
* Switch to short-names when the path is a relative_path (a dir) and exit with an error if the path does not exist
* Remove debugging print line
* Show relative filenames... It does not work yet for ls ../
* Try something else to fix relative paths... it works, but the ../ code part is not very pretty
* Add canonicalize check and remove code clones
* Fix the canonicalize_with issue pointed out by kubouch. Not sure the prefix_str is what kubouch suggested
* Fix the canonicalize_with issue pointed out by kubouch. Not sure the prefix_str is what kubouch suggested
* Add single-dot expansion to nu-path
* Move value path expansion from parser to eval
Fixes #745
* Remove single dot expansion from parser
It is not necessary since it will get expanded anyway in the eval.
* Fix ls to display globs with relative paths
* Use pathdiff crate to get relative paths for ls
Co-authored-by: Stefan Stanciulescu <contact@stefanstanciulescu.com>
2022-01-17 00:55:56 +11:00
nibon7
746641edae
Port seq
command ( #755 )
...
Signed-off-by: nibon7 <nibon7@163.com>
2022-01-17 00:52:41 +11:00
JT
fa5aab8170
Add simple stdin input command ( #754 )
...
* Add simple stdin input command
* Add binary input
* Tweak binary view
2022-01-16 15:28:28 +11:00
JT
b78924c777
Add support for load-env ( #752 )
2022-01-15 18:50:11 -05:00
JT
75db4a75bc
Save ( #750 )
...
* Add support for save
* Add support for binary filetypes
2022-01-16 07:44:20 +11:00
JT
8f4ee14d85
Hide Windows ps status, bump reedline ( #749 )
2022-01-16 06:44:24 +11:00
Fernando Herrera
89d99db94f
menu options ( #748 )
2022-01-15 17:01:44 +00:00
JT
f9c0d223c1
Improve keyword parsing, including for ( #747 )
...
* Improve keyword parsing, including for
* touchup
2022-01-16 02:26:52 +11:00
Jakub Žádník
21a7278259
Revert "Fix ls relative path and erroring on fake dir ( #697 )" ( #744 )
...
This reverts commit bee5ba3deb
.
2022-01-15 12:58:24 +02:00
Stefan Stanciulescu
bee5ba3deb
Fix ls relative path and erroring on fake dir ( #697 )
...
* Switch to short-names when the path is a relative_path (a dir) and exit with an error if the path does not exist
* Remove debugging print line
* Show relative filenames... It does not work yet for ls ../
* Try something else to fix relative paths... it works, but the ../ code part is not very pretty
* Add canonicalize check and remove code clones
* Fix the canonicalize_with issue pointed out by kubouch. Not sure the prefix_str is what kubouch suggested
* Fix the canonicalize_with issue pointed out by kubouch. Not sure the prefix_str is what kubouch suggested
2022-01-15 12:30:39 +02:00
Darren Schroeder
a7241f9899
add seq_date
command ( #743 )
...
* add `seq_date` command
* fixed a reedline type-o
* copy-n-paste error
2022-01-14 16:07:28 -06:00
Jakub Žádník
40484966c3
Make env var eval order during "use" deterministic ( #742 )
...
* Make env var eval order during "use" deterministic
Fixes #726 .
* Merge delta after getting config
To make sure env vars are all in the engine state and not in the stack.
2022-01-15 08:06:32 +11:00
Michael Angerman
7c23ae5cb0
update to final merge checklist #735 ( #741 )
2022-01-14 10:06:34 -06:00
JT
ca215c1152
Add nu-system and rewrite ps command ( #734 )
...
* Add nu-system and rewrite ps command
* Add more deps
* Add more deps
* clippy
* clippy
* clippy
* clippy
* clippy
* clippy
2022-01-14 17:20:53 +11:00
JT
2b6ce4dfe5
Bump reedline again ( #732 )
2022-01-14 07:03:29 +11:00
JT
bc1e1aa944
Clippy fixes for Rust 1.58 ( #733 )
...
* Clippy fixes for Rust 1.58
* Try different message
2022-01-14 06:40:25 +11:00
Stefan Holderbach
1ecbebb24a
Add instructions to run engine-q ( #731 )
...
* Add instructions to run engine-q
* Include mention of feature flags
2022-01-14 04:28:35 +11:00
JT
82d90f4930
Add support for var/string interp for external names ( #729 )
2022-01-13 19:17:45 +11:00
Darren Schroeder
d0f9943709
expose a few more types to custom commands (def
) ( #725 )
2022-01-12 09:59:07 -06:00
Fernando Herrera
58c5ea4937
menu with tab ( #724 )
2022-01-12 10:57:37 +00:00
JT
186da4d725
Fixing captures ( #723 )
...
* WIP fixing captures
* small fix
* WIP
* Rewrite to proof-of-concept better parse_def
* Add missing file
* Finish capture refactor
* Fix tests
* Add more tests
2022-01-12 15:06:56 +11:00
Fernando Herrera
47495715a6
context menu with nucompleter ( #722 )
2022-01-11 21:53:42 +00:00
Darren Schroeder
ffb086d56f
a little better table alignment ( #720 )
2022-01-11 08:49:15 -06:00
Fernando Herrera
74fd78e02c
reedline bump ( #717 )
2022-01-11 07:21:28 +00:00
Michael Angerman
160339bd1f
add in a new select test that exercises a different match arm of the select command ( #718 )
2022-01-10 13:29:52 -08:00
JT
d3bfc61524
Don't panic on alias errors ( #713 )
2022-01-10 13:52:01 +11:00
Jakub Žádník
733b2836f1
Cleanup parsing of use and hide commands ( #705 )
2022-01-10 12:39:25 +11:00
Darren Schroeder
3a17b60862
new command fmt
to format numbers ( #707 )
...
* new command `fmt` to format numbers
* remove comments
2022-01-09 19:19:41 -06:00
JT
7970e71bd4
bump reedline ( #712 )
2022-01-10 12:06:25 +11:00
Darren Schroeder
b49885bb85
Revert "added a better default for ls_colors ( #703 )" ( #711 )
...
This reverts commit d63eac69e5
.
2022-01-09 16:48:29 -06:00
JT
4860014cec
silly keymap addition for quick shell changing ( #710 )
2022-01-10 09:17:58 +11:00
Michel Alexandre Salim
476d543dee
Update descriptions for crates split out from nu-cli ( #4247 )
...
`nu-command` and `nu-data` were split out, but the descriptions still
say 'CLI'.
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-01-09 06:05:50 -06:00
Darren Schroeder
d63eac69e5
added a better default for ls_colors ( #703 )
2022-01-08 08:30:48 -06:00
Darren Schroeder
38e0527083
add more chars ( #701 )
...
* add more chars
* group nerdfonts with nf- prefix
* labeled unicode weather symbols
2022-01-08 07:19:51 -06:00
Jakub Žádník
3b467bedd9
Add reduce command ( #700 )
...
* Add reduce command
* Fix example and missing test commands
* Add forgotten file
2022-01-08 02:40:40 +02:00