summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-20 00:18:50 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-20 00:18:50 -0600
commit553d096111061b749bd17e5fe386c5ff6c888e1e (patch)
treed6dde5d40413a6a24974d7eca8a4d8cd241d4981 /src
parent60e1fa752f218616e04648a21578fe346fe36a6d (diff)
downloadpass-553d096111061b749bd17e5fe386c5ff6c888e1e.tar.gz
pass-553d096111061b749bd17e5fe386c5ff6c888e1e.tar.bz2
pass-553d096111061b749bd17e5fe386c5ff6c888e1e.zip
Style.
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh4
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,
/a>Jason A. Donenfeld1-10/+14 2012-09-04Prepare for debianification.1.0Jason A. Donenfeld9-4/+60 2012-09-03Fix readme typo.Jason A. Donenfeld1-1/+1 2012-09-03Show program name properly in error message.Jason A. Donenfeld1-1/+1 2012-09-03Move examples into manpage.Jason A. Donenfeld4-93/+224 2012-09-03Make into a real project.Jason A. Donenfeld8-5/+173 2012-09-03Support pass gitJason A. Donenfeld2-1/+15 2012-08-31Add remove synonyms.Jason A. Donenfeld1-2/+2 2012-08-31Use basename in usage.Jason A. Donenfeld1-2/+1 2012-08-19now using gpg_id as a varMatthew Ramirez1-2/+2 2012-08-07Forty five seconds.Jason A. Donenfeld1-1/+1 2012-08-06Deal with klipper and new lines.Jason A. Donenfeld1-3/+19 2012-08-06Update examples.Jason A. Donenfeld1-7/+7 2012-08-06Update readme.Jason A. Donenfeld1-11/+13 2012-08-06Be slicker and more like git.Jason A. Donenfeld1-114/+173