2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
Commit graph

733 commits

Author SHA1 Message Date
Fernando Herrera
1e86af2fb9
list keybinding options ()
* list keybinding optins

* list keybinding options

* clippy error
2022-02-04 06:47:18 +00:00
Stefan Holderbach
ac0b331f00
Update reedline to paste multiple command lines ()
* Update reedline to paste multiple command lines

* Remove comments for non-user events
2022-02-03 16:56:39 -06:00
Darren Schroeder
2f0bbf5adb
du command ()
* wip on `du` command

* working
2022-02-03 11:35:06 -06:00
Stefan Holderbach
b9c2bf226f
Obligatory reedline bump ()
- Keybinding related improvements
- internals
- Vi insert should know more keybindings
2022-02-02 20:24:24 -05:00
JT
cc1b784e3d
Add initial nu-test-support port ()
* Add initial nu-test-support port

* finish changing binary name

* Oops, these aren't Windows-safe tests
2022-02-02 15:59:01 -05:00
Darren Schroeder
cbdc0e2010
Windows ps update ()
* query command with json, web, xml

* query xml now working

* clippy

* comment out web tests

* Initial work on query web

For now we can query everything except tables

* Support for querying tables

Now we can query multiple tables just like before, now the only thing
missing is the test coverage

* Revert "Query plugin"

* augment `ps -l` on windows to display more info

Co-authored-by: Luccas Mateus de Medeiros Gomes <luccasmmg@gmail.com>
2022-02-01 15:05:26 -06:00
Darren Schroeder
004d7b5ff0
query command with json, web, xml ()
* query command with json, web, xml

* query xml now working

* clippy

* comment out web tests

* Initial work on query web

For now we can query everything except tables

* Support for querying tables

Now we can query multiple tables just like before, now the only thing
missing is the test coverage

* finish off

* comment out web test

Co-authored-by: Luccas Mateus de Medeiros Gomes <luccasmmg@gmail.com>
2022-02-01 12:45:48 -06:00
Fernando Herrera
ebaa584c5e
Reedline bump ()
* reedline bump

* reedline bump
2022-01-31 19:17:23 -05:00
Fernando Herrera
76a4455255
reedline bump () 2022-01-30 22:15:34 +00:00
Stefan Holderbach
c37f844644
Bump reedline ()
Should remove the need for manual `str find-replace -a (char newline) (char crlf)` in `PROMPT_COMMAND`

Fixes 
2022-01-28 16:26:19 -05:00
Stefan Holderbach
bfb9822475
Accomodate reedline#270 ()
Rename `ContextMenu` to `CompletionMenu`

Supply the completer directly to the line editor
2022-01-28 05:44:35 +11:00
Fernando Herrera
267ff4b0cf
using menu trait () 2022-01-27 07:53:23 +00:00
Fernando Herrera
69954a362d
history-menu () 2022-01-25 09:39:22 +00:00
JT
62e9698b11
Allow external args to expand globs ()
* Allow external args to expand globs

* WIP

* A bit of cleanups and refactor to glob_from

* oops, add file
2022-01-25 05:26:56 +11:00
Darren Schroeder
be0d221d56
ansi cut 2.0 () 2022-01-23 13:35:25 +11:00
Stefan Holderbach
0651e2b31f
Upgrade reedline for partial hint completion () 2022-01-22 06:21:22 +11:00
Fernando Herrera
846a048bba
menu-performance () 2022-01-21 08:59:29 +00:00
JT
69b2ed5566
bump reedline () 2022-01-20 18:58:48 -05:00
JT
724cfaa890
Bump reedline () 2022-01-20 13:57:47 -05:00
JT
33ffb2c39a
Add which command, add external completions, and builtin var completions ()
* Add which and external completions

* WIP

* Finish up external and var completions

* fix windows
2022-01-21 05:02:53 +11:00
Fernando Herrera
ff9d88887b
simple event keybinding () 2022-01-18 19:32:45 +00:00
JT
49e8af8ea5
Bump to 0.43 () 2022-01-18 12:06:12 -05:00
Guillaume Gomez
e6c09f2dfc
Update sysinfo version () 2022-01-18 22:37:52 +11:00
Fernando Herrera
20eb348896
simple keybinding parsing () 2022-01-18 08:48:28 +00:00
Darren Schroeder
ac36f32647
remove dialoguer completions in favor of reedline's () 2022-01-17 09:51:44 -06:00
JT
9b128b7a03
Add rest to get, bump reedline () 2022-01-17 02:40:11 +11:00
Jakub Žádník
3b4baa31b6
Fix ls relative path & command argument path expansion ()
* 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 

* 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
JT
8f4ee14d85
Hide Windows ps status, bump reedline () 2022-01-16 06:44:24 +11:00
Fernando Herrera
89d99db94f
menu options () 2022-01-15 17:01:44 +00:00
Darren Schroeder
a7241f9899
add seq_date command ()
* add `seq_date` command

* fixed a reedline type-o

* copy-n-paste error
2022-01-14 16:07:28 -06:00
JT
ca215c1152
Add nu-system and rewrite ps command ()
* 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 () 2022-01-14 07:03:29 +11:00
Fernando Herrera
58c5ea4937
menu with tab () 2022-01-12 10:57:37 +00:00
Fernando Herrera
47495715a6
context menu with nucompleter () 2022-01-11 21:53:42 +00:00
Fernando Herrera
74fd78e02c
reedline bump () 2022-01-11 07:21:28 +00:00
JT
7970e71bd4
bump reedline () 2022-01-10 12:06:25 +11:00
Fernando Herrera
8a0d2b4e32
double prompt ()
* double prompt

* prompt env var name
2022-01-06 12:57:55 +00:00
JT
36079f1a3d
Port fetch (with fixes) ()
* Port fetch to engine-q

* Fix check for path as a string

* Add a timeout flag and fix some span issues

* Add a temporary fetch command that returns byte streams. Got rid of async stuff as we're using the blocking feature of tokio

* More tweaks for the bytestream

* Rewrite fetch using ByteStreams

* buffer read on bytes directly

Co-authored-by: Stefan Stanciulescu <contact@stefanstanciulescu.com>
2022-01-04 13:01:18 +11:00
JT
681e37cec6
bump reedline () 2022-01-04 06:38:24 +11:00
JT
850f66aa9d
Fix build breakage - bump ansi term ()
* Fix build breakage - bump ansi term

* Remove e-q ansi term
2022-01-03 09:36:32 +11:00
JT
ac487dfcbc
Add parser tracing, fix 629 () 2022-01-02 08:42:50 +11:00
JT
7fa1ad010b
Bump reedline, again () 2022-01-01 16:30:59 +11:00
JT
44791b5835
Bump reedline, again () 2022-01-01 12:27:45 +11:00
JT
15b979b06e
Bump reedline () 2022-01-01 09:41:29 +11:00
JT
2320987862
Bump reedline () 2021-12-31 11:36:01 +11:00
JT
62011b6bcc
Bump to 0.42 () 2021-12-28 20:56:59 +11:00
Darren Schroeder
0c1a7459b2
Update to the latest reedline ()
* update to the latest reedline

* update to latest reedline
2021-12-27 14:16:34 -06:00
Fernando Herrera
53330c5676
def argument check ()
* def argument check

* corrected test

* clippy error
2021-12-28 06:13:52 +11:00
nibon7
1214cd57e8
bat: use regex-onig instead of regex-fancy ()
Fixes 

Signed-off-by: nibon7 <nibon7@163.com>
2021-12-24 08:34:59 -06:00
JT
3522bead97
Add string stream and binary stream, add text decoding ()
* WIP

* Add binary/string streams and text decoding

* Make string collection fallible

* Oops, forgot pretty hex

* Oops, forgot pretty hex

* clippy
2021-12-24 18:22:11 +11:00