758fce8ae3
Merge pull request #86 from nushell/add_cd
...
Add simple cd
2021-10-03 09:20:28 +13:00
91090e1db1
Add simple cd
2021-10-03 09:16:37 +13:00
1d7ab28a0f
Merge pull request #74 from kubouch/module-export
...
Modules: export & hide
2021-10-03 06:25:43 +13:00
b5ec9e0360
Update mod.rs
2021-10-03 06:16:02 +13:00
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
be68b84473
add serde derive feature to Cargo.toml so nu-protocol compiles stand alone
2021-10-02 10:02:11 -07:00
81cd03626d
Merge branch 'main' into module-export
2021-10-02 18:53:35 +03:00
6f4df31927
removed comments
2021-10-02 14:16:37 +01:00
03339beae1
prompt with env variable
2021-10-02 14:10:28 +01:00
62c5df5fc6
expand tilde when reading plugin_dirs ( #4052 )
2021-10-02 21:38:21 +13:00
92c855a412
Fixed two typos in the tutor. ( #4051 )
2021-10-02 21:37:59 +13:00
63a0aa6088
Let strings be cell paths
2021-10-02 18:43:43 +13:00
6b76dd7cd7
Add select
2021-10-02 17:55:05 +13:00
5843acec02
Add wrap and get and cell_path parsing
2021-10-02 15:59:11 +13:00
8ef16c6da6
add source command
2021-10-01 22:25:35 -04:00
e1a0ad2987
fix more merge conflicts
2021-10-01 22:24:43 -04:00
2d4e471052
fix more merge conflicts
2021-10-01 22:17:32 -04:00
16c60f44d5
merge w/ upstream
2021-10-01 22:09:16 -04:00
adb92b970e
nothing
2021-10-01 22:07:17 -04:00
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
c5e9ff5f14
add ps and early help
2021-10-02 10:53:13 +13:00
fb0f83e574
Disallow hiding the same def twice; Add tests
...
Tests got removed after rebase.
2021-10-02 00:12:30 +03:00
891d79d2aa
Fmt and misc fixes after rebase
2021-10-01 23:30:56 +03:00
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
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
aa06a71e1f
Move new commands to the new structure
2021-10-01 23:24:57 +03:00
244289c901
Add missing file
2021-10-01 23:24:57 +03:00
7488254cca
Implement a rough version of 'hide'
...
'hide' command is used to undefine custom commands
2021-10-01 23:24:54 +03:00
3cbf99053f
Throw an error if using export outside of module
2021-10-01 23:21:30 +03:00
93521da9d8
Add 'export def' command
2021-10-01 23:21:28 +03:00
561feff365
Introduce 'export' keyword
2021-10-01 23:19:39 +03:00
1b89ccf25b
Add comment
2021-10-01 23:19:39 +03:00
d395816929
remove ansi colors if this is not a tty ( #4058 )
2021-10-01 09:00:08 -05:00
503939dcbe
add sys command
2021-10-01 19:53:47 +13:00
d6e24cceb4
add a vertical record view
2021-10-01 19:01:22 +13:00
db3e9efc4b
fix warnings
2021-10-01 18:20:25 +13:00
3e232a5db8
Add 'from json'
2021-10-01 18:11:49 +13:00
e00755a2e9
fix compile errors
2021-09-30 23:04:56 -04:00
8250b44ce5
moved commands
2021-09-30 07:25:05 +13:00
f0d5e2dcf1
Prepare nu_commands for porting
2021-09-30 07:17:51 +13:00
5e34ef6dff
new command: into column_path ( #4048 )
2021-09-29 07:23:34 -05:00
d567c58cc1
Add -c
flag to update cells
subcommand ( #4039 )
...
* Add `-c` flag to `update cells` subcommand
* Fix lints
2021-09-27 21:18:50 -05:00
4e0d7bc77c
Less deps ( #4038 )
...
* compiles on nightly now. (breaking change)
* less deps
* Switch over to new resolver
(it's been stable for a while.)
* let's leave num-format for another PR
2021-09-28 07:17:00 +13:00
2b5ef1b2d7
Removed extra file
2021-09-27 08:10:45 -04:00
719920fa37
tried to move source command into parser (still doesn't compile)
2021-09-27 08:10:18 -04:00
84d0e0a059
More forgiving def parse
2021-09-27 14:03:50 +13:00
0a48bc973d
Merge pull request #72 from nushell/import_patterns
...
Add import lists
2021-09-27 13:32:36 +13:00
0108a935ed
add import lists
2021-09-27 13:23:22 +13:00
9ee4dc49ee
Fix wrong error span
2021-09-27 00:02:20 +03:00
abb0d7bd22
Add support for module imports
2021-09-27 07:39:19 +13:00