cfg/bin/strip-paste-buffer

4 lines
92 B
Text
Raw Permalink Normal View History

#!/bin/bash
xclip -selection c -o | sed "s/$(printf '\u200b').*//" | xclip -selection c -i