passc: don't copy newline to clipboard
This commit is contained in:
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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user