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
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
Jakub Žádník
f964ce9bc0
Add repository name and current tag to gstat ( #692 )
...
* Add repository name to gstat
* Fix getting repo name; Add tag as well
2022-01-07 05:44:05 -06:00
JT
f016a5cb72
Fix short flags with extra ( #696 )
2022-01-07 08:06:54 +11:00
JT
3478f35330
Default the values of named params ( #695 )
2022-01-07 07:32:47 +11:00
Jakub Žádník
eab6b322bb
Add CR, LF and CRLF to char command ( #691 )
2022-01-06 20:52:43 +02:00
Fernando Herrera
8a0d2b4e32
double prompt ( #686 )
...
* double prompt
* prompt env var name
2022-01-06 12:57:55 +00:00
JT
e44789556b
Fix path external ( #684 )
...
* Fix external invocation/expansion
* clippy
2022-01-06 21:20:31 +11:00
JT
d39e8c15fe
Expand external command names ( #682 )
2022-01-06 10:32:56 +11:00
Ștefan
47544ad219
Move fetch to extra and clean up some code ( #664 )
...
* Move fetch to extra
* Move byte stream code to a function instead of copying it twice
* Fix formatting issues
* Make fetch a default command
* Fix formatting
2022-01-06 10:06:16 +11:00