Created
March 6, 2017 22:52
-
-
Save takikawa/9c429dfc24d90f6269d452ff4d0f8a7d to your computer and use it in GitHub Desktop.
keybase fs clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case $1 in | |
paste) | |
xclip -o -selection "clipboard" > /keybase/private/$USER/clipboard;; | |
copy) | |
xclip -i /keybase/private/$USER/clipboard -selection "clipboard";; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment