From 6865ec9a54494a3baf95cc831e637299a378772f Mon Sep 17 00:00:00 2001 From: amtoine Date: Sat, 19 Aug 2023 09:39:21 +0200 Subject: [PATCH] fix the sysmem messages for non-Linux OSes Windows was incorrect, mac and termux were unquoted. --- crates/nu-std/std/mod.nu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +}