commit 4eabdd63867dea7831ab72c1e200f5d911dcb13d
parent 706085ea08653868658d9795badb825f412b9840
Author: Bernardo Freitas Paulo da Costa <bernardo.da-costa@m4x.org>
Date: Tue, 4 Sep 2012 16:59:43 +0200
Allow passwords having spaces to go unbroken to the clipboard.
This also prevents showing the second <word> of the password in the
prompt.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
;;