JT
de30236f38
Fix ls listing ( #593 )
2021-12-27 12:46:32 +11:00
JT
89a000a572
Fix some 'open' signature stuff ( #583 )
2021-12-26 09:13:43 +11:00
JT
a811eee6b8
Add support for 'open' ( #573 )
2021-12-25 06:24:55 +11:00
JT
b719f8d4eb
Add missing flags to existing commands ( #565 )
...
* Add missing flags to existing commands
* fmt
2021-12-24 08:41:29 +11:00
Jakub Žádník
6a0f404558
Treating environment variables as Values ( #497 )
...
* Proof of concept treating env vars as Values
* Refactor env var collection and method name
* Remove unnecessary pub
* Move env translations into a new file
* Fix LS_COLORS to support any Value
* Fix spans during env var translation
* Add span to env var in cd
* Improve error diagnostics
* Fix non-string env vars failing string conversion
* Make PROMPT_COMMAND a Block instead of String
* Record host env vars to a fake file
This will give spans to env vars that would otherwise be without one.
Makes errors less confusing.
* Add 'env' command to list env vars
It will list also their values translated to strings
* Sort env command by name; Add env var type
* Remove obsolete test
2021-12-17 12:04:54 +11:00
JT
fdde95f675
Update clippy to check all features ( #441 )
...
* Update clippy to check all features
* Fix tests
* oops
2021-12-06 07:23:43 +13:00
Fernando Herrera
22469a9cb1
Improved labeled error from plugins ( #437 )
...
* improved labeled error from plugins
* corrected span
2021-12-05 16:11:19 +13:00
Fernando Herrera
8a06ea133b
removed unwraps ( #430 )
2021-12-04 12:38:21 +00:00
JT
45eba8b922
Introduce metadata into the pipeline ( #397 )
2021-12-02 18:59:10 +13:00
Jakub Žádník
d30dfc63c4
Fix reading of LS_COLORS; ls display symlink ( #357 )
...
Also a swing-by fix removing a redundant call to
std::fs::symlink_metadata().
2021-11-21 01:14:42 +02:00
Fernando Herrera
b35914bd17
Category option for signature ( #343 )
...
* category option for signature
* category option for signature
* column description for $scope
2021-11-17 17:22:37 +13:00
Darren Schroeder
ab22619f4a
enable ls_colors for the ls
command ( #340 )
...
* enable ls_colors for the `ls` command
* added wrapping with ansi-cut so the ansi sequences don't bleed over
* clippy
2021-11-15 14:09:17 -06:00
JT
02b8027749
Improve external output in subexprs ( #294 )
2021-11-06 18:50:33 +13:00
JT
bac8b8a450
Add initial ctrl-c support
2021-10-28 17:13:10 +13:00
Gabriel Borges Gutierrez
a29c333cb1
ls type lowercase
2021-10-26 15:02:45 -03:00
JT
5d19017603
WIP
2021-10-26 05:58:58 +13:00
JT
b5965ee8ef
WIP
2021-10-25 19:31:39 +13:00
JT
b6d269e90a
WIP
2021-10-25 17:01:02 +13:00
Michael Angerman
297f3ba575
clean up filesystem by moving get_interactive_confirmation into util.rs
2021-10-23 10:57:45 -07:00
Gabriel B Gutierrez
5bd20e4d36
fix clippy warnings
2021-10-15 12:12:17 -03:00
Gabriel B Gutierrez
28b26ca44d
supress warnings
2021-10-14 18:14:59 -03:00
Gabriel B Gutierrez
b3192ddc97
fix operating more than 2 file at the same time
2021-10-14 17:03:39 -03:00
Gabriel B Gutierrez
8c2ae1eed1
-i flag finished, lacking tests
2021-10-14 14:54:51 -03:00
Gabriel B Gutierrez
9ea7cdfc33
-i flag on signaure
2021-10-13 19:29:08 -03:00
JT
6024a001b4
Clarify todo/fixmes
2021-10-13 06:44:23 +13:00
Darren Schroeder
ea9aad9b5d
fix to allow windows to compile
2021-10-11 13:58:10 -05:00
xiuxiu62
491efab09b
remove open and save
2021-10-10 13:24:54 -07:00
xiuxiu62
beb15dcc77
cleanup + clippy suggestions
2021-10-09 21:17:08 -07:00
xiuxiu62
97ca242634
add rm command + stubs for open and save
2021-10-09 21:13:15 -07:00
xiuxiu62
bdfe8c0888
add mkdir command
2021-10-07 15:20:23 -07:00
xiuxiu62
8550f50522
substitute idiomatic call flag check
2021-10-07 14:36:47 -07:00
xiuxiu62
adabc839bf
add touch command
2021-10-07 14:18:03 -07:00
jacremer
b3b51a2ed6
drop redundant iter -> vec -> iter
2021-10-05 15:09:51 -07:00
xiuxiu62
cc8a470668
clean up unused imports
2021-10-05 14:13:23 -07:00
xiuxiu62
74d4c501a8
add move, recursive fill, and recursive create procedures
2021-10-05 14:08:39 -07:00
xiuxiu62
8dc3ebd6e2
start cp command
2021-10-05 12:55:46 -07:00
xiuxiu62
5da1310696
add fs utils
2021-10-05 12:55:33 -07:00
jacremer
27dcbe5c8a
fix SyntaxShape::Filepath build error
2021-10-04 22:08:15 -07:00
Justin
4eb43adef2
Merge branch 'nushell:main' into main
2021-10-04 22:02:43 -07:00
jacremer
0ef0588e29
mv clippy suggestions
2021-10-04 21:40:26 -07:00
JT
80e7a8d594
Update mv.rs
2021-10-05 16:58:49 +13:00
xiuxiu62
1b96da5e5b
add custom filesystem shell errors
2021-10-04 20:43:07 -07:00
JT
31ce8c1e33
Variable completions and better ls
2021-10-05 15:46:24 +13:00
JT
535ece4e76
Add unit parsing and eval support
2021-10-05 15:27:39 +13:00
JT
7c2bf68d45
Use list completions and better expansion
2021-10-05 10:37:32 +13:00
JT
a88058006a
Add path completions
2021-10-05 08:21:31 +13:00
xiuxiu62
b2148e32b8
make mv parameters required
2021-10-04 05:13:47 -07:00
xiuxiu62
e325fd114d
port the mv command
2021-10-04 04:32:08 -07:00
JT
91090e1db1
Add simple cd
2021-10-03 09:16:37 +13:00
JT
5843acec02
Add wrap and get and cell_path parsing
2021-10-02 15:59:11 +13:00