Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use uutils/coreutils cp command in place of nushell's cp command #10097

Merged
merged 21 commits into from Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
154 changes: 153 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/nu-command/Cargo.toml
Expand Up @@ -88,6 +88,7 @@ toml = "0.7"
unicode-segmentation = "1.10"
ureq = { version = "2.7", default-features = false, features = ["charset", "gzip", "json", "native-tls"] }
url = "2.2"
uu_cp = "0.0.21"
uuid = { version = "1.3", features = ["v4"] }
wax = { version = "0.5" }
which = { version = "4.4", optional = true }
Expand Down
3 changes: 2 additions & 1 deletion crates/nu-command/src/default_context.rs
Expand Up @@ -200,10 +200,11 @@ pub fn add_shell_command_context(mut engine_state: EngineState) -> EngineState {
// FileSystem
bind_command! {
Cd,
Cp,
Ls,
Mkdir,
Mv,
Cp,
UCp,
Open,
Start,
Rm,
Expand Down
2 changes: 2 additions & 0 deletions crates/nu-command/src/filesystem/mod.rs
Expand Up @@ -10,6 +10,7 @@ mod rm;
mod save;
mod start;
mod touch;
mod ucp;
mod util;
mod watch;

Expand All @@ -25,4 +26,5 @@ pub use rm::Rm;
pub use save::Save;
pub use start::Start;
pub use touch::Touch;
pub use ucp::UCp;
pub use watch::Watch;