ohmyzsh/plugins/pbfile
Anton 53007b51f7
pbfile plugin
Copies files to the macOS pasteboard for pasting with Cmd+V in Finder, messengers, and other apps.
2025-07-09 22:55:07 +02:00
..
pbfile.plugin.zsh pbfile plugin 2025-07-09 22:55:07 +02:00
README.md pbfile plugin 2025-07-09 22:55:07 +02:00

pbfile plugin

Copies files to the macOS pasteboard for pasting with Cmd+V in Finder, messengers, and other apps.

To use it, add pbfile to the plugins array in your zshrc file:

plugins=(... pbfile)

Usage

  • pbfile <file>: copies the given file to the pasteboard for pasting as an attachment.

Examples

pbfile document.pdf
pbfile config.json