add macOS to the supported OSes with pbcopy

This commit is contained in:
amtoine
2023-04-01 09:06:47 +02:00
parent 3041adad3c
commit 1678120a72

View File

@@ -465,6 +465,10 @@ export def clip [
check-clipboard clip.exe --system $"('xorg' | pretty-command) on linux"
$input | clip.exe
},
"macos" => {
check-clipboard pbcopy --system macOS
$input | pbcopy
},
_ => {
error make --unspanned {
msg: $"(ansi red)unknown_operating_system(ansi reset):