From 4eabdd63867dea7831ab72c1e200f5d911dcb13d Mon Sep 17 00:00:00 2001 From: Bernardo Freitas Paulo da Costa Date: Tue, 4 Sep 2012 16:59:43 +0200 Subject: Allow passwords having spaces to go unbroken to the clipboard. This also prevents showing the second of the password in the prompt. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ;; -- cgit v1.2.3-54-g00ecf