3 ms·
This looks neat, but as someone who doesn't use Linux on the desktop, I'm typically fine with macOS (zsh/bash): command | pbcopy windows (powershell) command
by locusofself 4y ago
This looks neat, but as someone who doesn't use Linux on the desktop, I'm typically fine with
macOS (zsh/bash):
command | pbcopy
windows (powershell)
command | Set-Clipboard
- krick 4y agoalias pbcopy='xclip -selection clipboard' alias pbpaste='xclip -selection clipboard -o'
- deleted 4y ago[deleted]
- jvanderbot 4y agoThe same flow for Linux can be had with 'xsel'
- rubicks 4y agoIt sure can: alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output'
- charlesdaniels 4y agoI wrote a wrapper around these some years ago which I’ve been using since. It’s been working pretty well for me. https://git.sr.ht/~charles/dotfiles/tree/171c95a20394552e02aff6293579c5f3a7eb79af/item/overlay.full/bin/cliptool https://git.sr.ht/~charles/dotfiles/tree/171c95a20394552e02a...