current commit
200502.1 · fix x11 copy & paste, particularly with neovim
#!/bin/sh

# Uploads a gist and copies to the resulting URL to the clipboard.
# (Instead of the primary X selection, which requires using the mouse. Bah.)
url=$(/usr/bin/gist "$@")
echo "$url" | xcp
echo "$url"