diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-03-20 00:18:50 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-03-20 00:18:50 -0600 |
commit | 553d096111061b749bd17e5fe386c5ff6c888e1e (patch) | |
tree | d6dde5d40413a6a24974d7eca8a4d8cd241d4981 /src/password-store.sh | |
parent | 60e1fa752f218616e04648a21578fe346fe36a6d (diff) | |
download | pass-553d096111061b749bd17e5fe386c5ff6c888e1e.tar.gz pass-553d096111061b749bd17e5fe386c5ff6c888e1e.tar.bz2 pass-553d096111061b749bd17e5fe386c5ff6c888e1e.zip |
Style.
Diffstat (limited to '')
-rwxr-xr-x | src/password-store.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 9cfae7f..6fa32c1 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -118,9 +118,7 @@ clip() { ( sleep 45 now="$(xclip -o -selection clipboard | base64)" - if [[ $now != $(echo -n "$1" | base64) ]]; then - before="$now" - fi + [[ $now != $(echo -n "$1" | base64) ]] && before="$now" # It might be nice to programatically check to see if klipper exists, # as well as checking for other common clipboard managers. But for now, |