1 2 3 4
#!/bin/zsh file=$(grabc 2>/dev/null) echo "$file" | tr -d '\n' | xclip -selection clipboard echo "$file" | tr -d '\n' | xclip -selection primary