diff --git a/crates/nu-std/std/mod.nu b/crates/nu-std/std/mod.nu index c510a2c38a..11bc959c43 100644 --- a/crates/nu-std/std/mod.nu +++ b/crates/nu-std/std/mod.nu @@ -165,15 +165,15 @@ export def clip [ if $charpage != null { chcp $charpage } - check-clipboard clip.exe --system $"('xorg' | pretty-command) on linux" + check-clipboard clip.exe --system "Windows" $input | clip.exe }, "macos" => { - check-clipboard pbcopy --system macOS + check-clipboard pbcopy --system "MacOS" $input | pbcopy }, "android" => { - check-clipboard termux-clipboard-set --system Termux + check-clipboard termux-clipboard-set --system "Termux" $input | termux-clipboard-set }, _ => { @@ -293,4 +293,4 @@ Startup Time: ($nu.startup-time) # Return the current working directory export def pwd [] { $env.PWD -} \ No newline at end of file +}