mirror of
https://github.com/nushell/nushell.git
synced 2025-06-01 15:46:04 +02:00
add macOS to the supported OSes with pbcopy
This commit is contained in:
parent
3041adad3c
commit
1678120a72
@ -465,6 +465,10 @@ export def clip [
|
|||||||
check-clipboard clip.exe --system $"('xorg' | pretty-command) on linux"
|
check-clipboard clip.exe --system $"('xorg' | pretty-command) on linux"
|
||||||
$input | clip.exe
|
$input | clip.exe
|
||||||
},
|
},
|
||||||
|
"macos" => {
|
||||||
|
check-clipboard pbcopy --system macOS
|
||||||
|
$input | pbcopy
|
||||||
|
},
|
||||||
_ => {
|
_ => {
|
||||||
error make --unspanned {
|
error make --unspanned {
|
||||||
msg: $"(ansi red)unknown_operating_system(ansi reset):
|
msg: $"(ansi red)unknown_operating_system(ansi reset):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user