forked from extern/nushell
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"
|
||||
$input | clip.exe
|
||||
},
|
||||
"macos" => {
|
||||
check-clipboard pbcopy --system macOS
|
||||
$input | pbcopy
|
||||
},
|
||||
_ => {
|
||||
error make --unspanned {
|
||||
msg: $"(ansi red)unknown_operating_system(ansi reset):
|
||||
|
Loading…
Reference in New Issue
Block a user