JT
75ec0d123a
Merge pull request #92 from nushell/better_external_completion
...
Better completions for external args
2021-10-05 10:54:36 +13:00
JT
c884d5ca31
Better completions for external args
2021-10-05 10:50:46 +13:00
JT
f80e9d4b60
Merge pull request #91 from nushell/list_completions
...
Use list completions and better expansion
2021-10-05 10:44:26 +13:00
JT
26166192e5
Merge pull request #89 from kubouch/hide-import-patterns
...
Add import patterns to 'hide'
2021-10-05 10:44:13 +13:00
JT
7c2bf68d45
Use list completions and better expansion
2021-10-05 10:37:32 +13:00
Jakub Žádník
6f5f1fa43a
Clippy
2021-10-04 22:37:43 +03:00
JT
58b0e571d3
Merge pull request #90 from nushell/path_completion
...
Add path completions
2021-10-05 08:28:47 +13:00
JT
a88058006a
Add path completions
2021-10-05 08:21:31 +13:00
Jakub Žádník
1e1e12b027
Fmt
2021-10-04 22:17:18 +03:00
Jakub Žádník
9737d4a614
Change comments
2021-10-04 20:33:27 +03:00
Jakub Žádník
0fe525de87
Add test with TODO note
2021-10-04 20:16:43 +03:00
Jakub Žádník
4dacfaa44a
Add import pattern support to 'hide'
2021-10-04 20:08:24 +03:00
JT
2b5cc63118
Merge pull request #87 from nushell/lines_no_trim
...
Lines shouldn't trim
2021-10-03 11:00:04 +13:00
JT
75e323ee35
Lines shouldn't trim
2021-10-03 10:56:11 +13:00
JT
758fce8ae3
Merge pull request #86 from nushell/add_cd
...
Add simple cd
2021-10-03 09:20:28 +13:00
JT
91090e1db1
Add simple cd
2021-10-03 09:16:37 +13:00
JT
5bf51b5a7a
Update TODO.md
2021-10-03 08:33:30 +13:00
JT
1d7ab28a0f
Merge pull request #74 from kubouch/module-export
...
Modules: export & hide
2021-10-03 06:25:43 +13:00
JT
eba3484611
Update tests.rs
2021-10-03 06:17:51 +13:00
JT
b5ec9e0360
Update mod.rs
2021-10-03 06:16:02 +13:00
JT
0cc121876b
Update tests.rs
...
Update test errors to be more portable
2021-10-03 06:12:05 +13:00
JT
e4e1b7a11e
Merge pull request #85 from stormasm/cargo-serde-derive
...
add serde derive to Cargo.toml so nu-protocol compiles standalone
2021-10-03 06:09:11 +13:00
Michael Angerman
be68b84473
add serde derive feature to Cargo.toml so nu-protocol compiles stand alone
2021-10-02 10:02:11 -07:00
JT
ae34a34e00
Merge pull request #84 from elferherrera/prompt
...
Prompt with env variable
2021-10-03 06:00:10 +13:00
Jakub Žádník
81cd03626d
Merge branch 'main' into module-export
2021-10-02 18:53:35 +03:00
Fernando Herrera
6f4df31927
removed comments
2021-10-02 14:16:37 +01:00
Fernando Herrera
03339beae1
prompt with env variable
2021-10-02 14:10:28 +01:00
JT
9a64f1bff3
Merge pull request #83 from nushell/string_cell_path
...
Let strings be cell paths
2021-10-02 18:51:40 +13:00
JT
63a0aa6088
Let strings be cell paths
2021-10-02 18:43:43 +13:00
JT
a8f9e6dcc2
Merge pull request #82 from nushell/add_select
...
Add select
2021-10-02 18:00:18 +13:00
JT
6b76dd7cd7
Add select
2021-10-02 17:55:05 +13:00
JT
7899745c4b
Merge pull request #81 from nushell/wrap_get
...
Add wrap and get and cell_path parsing
2021-10-02 17:23:57 +13:00
JT
5843acec02
Add wrap and get and cell_path parsing
2021-10-02 15:59:11 +13:00
Jakub Žádník
6595c06598
Relax panic into error
...
Convert the panic when declaration cannot find predeclaration into an
error. This error is already covered and reported in the predeclaration
phase.
2021-10-02 03:42:35 +03:00
JT
3567bbbf32
Merge pull request #80 from nushell/early_help
...
add ps and early help
2021-10-02 10:59:58 +13:00
JT
c5e9ff5f14
add ps and early help
2021-10-02 10:53:13 +13:00
Jakub Žádník
2c1b074bdc
Add test for double def
2021-10-02 00:21:08 +03:00
Jakub Žádník
fb0f83e574
Disallow hiding the same def twice; Add tests
...
Tests got removed after rebase.
2021-10-02 00:12:30 +03:00
Jakub Žádník
891d79d2aa
Fmt and misc fixes after rebase
2021-10-01 23:30:56 +03:00
Jakub Žádník
25b05dec9e
Fix panic on double def; Tests; Double def error
...
* Fixes a panic with defining two commands with the same name caused by
declaration not found after predeclaration.
* Adds a new error if a custom command is defined more than once in one
block.
* Add some tests
2021-10-01 23:25:24 +03:00
Jakub Žádník
2af8116f50
Fix hiding logic; Fix hiding with predecls
...
* Hiding logic is simplified and fixed so you can hide and unhide the
same def repeatedly.
* Separates predeclared ids into its own data structure to protect them
from hiding. Otherwise, you could hide the predeclared variable and
the actual def would panic.
2021-10-01 23:24:57 +03:00
Jakub Žádník
aa06a71e1f
Move new commands to the new structure
2021-10-01 23:24:57 +03:00
Jakub Žádník
8ed6afe1e5
Fix tests failing without export
2021-10-01 23:24:57 +03:00
Jakub Žádník
244289c901
Add missing file
2021-10-01 23:24:57 +03:00
Jakub Žádník
7488254cca
Implement a rough version of 'hide'
...
'hide' command is used to undefine custom commands
2021-10-01 23:24:54 +03:00
Jakub Žádník
3cbf99053f
Throw an error if using export outside of module
2021-10-01 23:21:30 +03:00
Jakub Žádník
93521da9d8
Add 'export def' command
2021-10-01 23:21:28 +03:00
Jakub Žádník
561feff365
Introduce 'export' keyword
2021-10-01 23:19:39 +03:00
Jakub Žádník
1b89ccf25b
Add comment
2021-10-01 23:19:39 +03:00
JT
5b3b74ebec
Merge pull request #79 from kubouch/disable-raw-mode
...
Disable crossterm raw mode
2021-10-02 06:01:48 +13:00