passc: copy password to clipboard instead of selection
This commit is contained in:
parent
4c5082690f
commit
85803b08a9
@ -72,5 +72,5 @@ export MPD_HOST=127.0.0.1 MPD_PORT=6600
|
|||||||
|
|
||||||
# passc
|
# passc
|
||||||
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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user