summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-08 18:49:26 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-08 18:49:26 +0200
commit0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4 (patch)
tree5fe20287339a1b547d58878c443bf5379bfea8a3 /src
parent00e44ed94b0e40345492bd513066ea2c50778c27 (diff)
downloadpass-0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4.tar.gz
pass-0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4.tar.bz2
pass-0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4.zip
Only copy the first line of the password file to the clipboard.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index e22e8c9..2e1d14b 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -134,7 +134,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" | head -n 1)" "$path"
fi
fi
;;
td> 2009-09-03Use this wrapper instead of ctypes to set the textdomain and stuff for the ↵René 'Necoro' Neumann1-9/+5 gtk.Builder 2009-09-03Add small wrapper to C-gettextRené 'Necoro' Neumann2-1/+22 2009-08-31Update messages.potRené 'Necoro' Neumann1-42/+94 2009-08-31Removed the gtk- strings from translationsRené 'Necoro' Neumann7-3639/+3479 2009-08-31Removed the 'translatable' attribute from 'gtk-*' stringsRené 'Necoro' Neumann5-11/+11 2009-08-31Removed TODO. Renamed ChangeLog to TODORené 'Necoro' Neumann2-40/+0 2009-08-27Only import stuff if necessaryRené 'Necoro' Neumann1-8/+8 2009-08-25Release the threadQueue-Lock in syncv0.13René 'Necoro' Neumann1-0/+1 2009-08-25Updated portugese translationAlberto Federman Neto1-650/+687 2009-08-15Update spanish translationDaniel Halens1-245/+258 2009-08-15Use boolean flags instead of obscure C flags for ipc.MessageQueueRené 'Necoro' Neumann3-13/+15 2009-08-15TypoRené 'Necoro' Neumann1-1/+1 2009-08-15Enhanced the extensions.shRené 'Necoro' Neumann1-3/+8 2009-08-15Move eix-format to correct locationRené 'Necoro' Neumann1-0/+0