mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +00:00
fix the sysmem messages for non-Linux OSes
Windows was incorrect, mac and termux were unquoted.
This commit is contained in:
parent
821e50c4b0
commit
6865ec9a54
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
},
|
||||
_ => {
|
||||
|
|
Loading…
Reference in a new issue