summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
authorBernardo Freitas Paulo da Costa <bernardo.da-costa@m4x.org>2012-09-04 16:59:43 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-04 19:47:23 +0200
commit4eabdd63867dea7831ab72c1e200f5d911dcb13d (patch)
treeffe06df28afcc4883e615b2dad8b9a1f1c6e1c11 /src/password-store.sh
parent706085ea08653868658d9795badb825f412b9840 (diff)
downloadpass-4eabdd63867dea7831ab72c1e200f5d911dcb13d.tar.gz
pass-4eabdd63867dea7831ab72c1e200f5d911dcb13d.tar.bz2
pass-4eabdd63867dea7831ab72c1e200f5d911dcb13d.zip
Allow passwords having spaces to go unbroken to the clipboard.
This also prevents showing the second <word> of the password in the prompt.
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 08c2371..5b2f6d0 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -130,7 +130,7 @@ case "$command" in
if [ $clip -eq 0 ]; then
exec gpg -q -d "$passfile"
else
- clip $(gpg -q -d "$passfile") $path
+ clip "$(gpg -q -d "$passfile")" $path
fi
fi
;;