pbfile plugin

Copies files to the macOS pasteboard for pasting with Cmd+V in Finder, messengers, and other apps.
This commit is contained in:
Anton 2025-07-09 22:55:07 +02:00 committed by GitHub
commit 53007b51f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

20
plugins/pbfile/README.md Normal file
View file

@ -0,0 +1,20 @@
# 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:
```zsh
plugins=(... pbfile)
```
## Usage
- `pbfile <file>`: copies the given file to the pasteboard for pasting as an attachment.
## Examples
```zsh
pbfile document.pdf
pbfile config.json
```