passc: don't copy newline to clipboard

This commit is contained in:
Gabriel Ebner 2014-09-01 22:41:53 +09:00
parent a66c82a1a1
commit cb10f8ad86

@ -74,5 +74,5 @@ test -x /usr/bin/vim && alias vi=vim
# passc
passc() {
pass show "$1" | (read i; cat; echo "$i" | xclip -l 1 -se c)
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
}