diff options
author | Bernardo Freitas Paulo da Costa <bernardo.da-costa@m4x.org> | 2012-09-04 16:59:43 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-04 19:47:23 +0200 |
commit | 4eabdd63867dea7831ab72c1e200f5d911dcb13d (patch) | |
tree | ffe06df28afcc4883e615b2dad8b9a1f1c6e1c11 /src | |
parent | 706085ea08653868658d9795badb825f412b9840 (diff) | |
download | pass-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-x | src/password-store.sh | 2 |
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 ;; |