mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +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 {
|
if $charpage != null {
|
||||||
chcp $charpage
|
chcp $charpage
|
||||||
}
|
}
|
||||||
check-clipboard clip.exe --system $"('xorg' | pretty-command) on linux"
|
check-clipboard clip.exe --system "Windows"
|
||||||
$input | clip.exe
|
$input | clip.exe
|
||||||
},
|
},
|
||||||
"macos" => {
|
"macos" => {
|
||||||
check-clipboard pbcopy --system macOS
|
check-clipboard pbcopy --system "MacOS"
|
||||||
$input | pbcopy
|
$input | pbcopy
|
||||||
},
|
},
|
||||||
"android" => {
|
"android" => {
|
||||||
check-clipboard termux-clipboard-set --system Termux
|
check-clipboard termux-clipboard-set --system "Termux"
|
||||||
$input | termux-clipboard-set
|
$input | termux-clipboard-set
|
||||||
},
|
},
|
||||||
_ => {
|
_ => {
|
||||||
|
|
Loading…
Reference in a new issue