passc: copy password to clipboard instead of selection

This commit is contained in:
Gabriel Ebner 2014-08-03 09:28:04 +02:00
parent 4c5082690f
commit 85803b08a9

@ -72,5 +72,5 @@ export MPD_HOST=127.0.0.1 MPD_PORT=6600
# passc
passc() {
pass show "$1" | (read i; cat; echo "$i" | xclip -l 1)
pass show "$1" | (read i; cat; echo "$i" | xclip -l 1 -se c)
}