macOS 特有内容

ghy / 2023-08-19 / 原文

Clipboard

  • 'pbpaste'
    output the content of clipboard

  • 'pbcopy'
    copy the content to clipboard. For example, echo "hello" | pbcopy

A ingenious usage, collaborate with tmux buffet to copy the content from tmux to system clipboard