--- a/bin/brows Sat Jul 07 20:27:24 2018 +0000
+++ b/bin/brows Sun Jul 08 15:49:42 2018 +0000
@@ -1,1 +1,1 @@
-/Users/sjl/src/brows/bin/brows
\ No newline at end of file
+/home/sjl/src/brows/bin/brows
\ No newline at end of file
--- a/mutt/mailcap Sat Jul 07 20:27:24 2018 +0000
+++ b/mutt/mailcap Sun Jul 08 15:49:42 2018 +0000
@@ -1,35 +1,17 @@
# ~/.mutt/mailcap
-#
-# this uses the view_attachment script found in ~/.mutt/view_attachment.sh
-#
-# this is meant for an OS X system
-# MS Excel
-# this will use the default xls spreadsheet handler from open
application/x-msexcel; ~/.mutt/view_attachment.sh %s
application/ms-exc; ~/.mutt/view_attachment.sh %s
application/excel; ~/.mutt/view_attachment.sh %s
application/msexcel; ~/.mutt/view_attachment.sh %s
application/vnd.ms-exc; ~/.mutt/view_attachment.sh %s
application/vnd.ms-excel; ~/.mutt/view_attachment.sh %s
-
-# MS Word
-# use textedit to open .doc files as it's more light-weight
-application/msword; ~/.mutt/view_attachment.sh %s "-" '/Applications/TextEdit.app'
-
-# Images
+application/msword; ~/.mutt/view_attachment.sh %s
image/jpg; ~/.mutt/view_attachment.sh %s jpg
image/jpeg; ~/.mutt/view_attachment.sh %s jpg
image/pjpeg; ~/.mutt/view_attachment.sh %s jpg
image/png; ~/.mutt/view_attachment.sh %s png
image/gif; ~/.mutt/view_attachment.sh %s gif
-
-# PDF
-# application/pdf; ~/.mutt/view_attachment.sh %s pdf
-
-# HTML
text/html; ~/.mutt/view_attachment.sh %s html
-
-# Unidentified.
application/octet-stream; ~/.mutt/view_attachment.sh %s "-"
--- a/mutt/muttrc Sat Jul 07 20:27:24 2018 +0000
+++ b/mutt/muttrc Sun Jul 08 15:49:42 2018 +0000
@@ -154,7 +154,7 @@
set sendmail_wait = 0 # no please don't silently fail, email is important
unset record
-# source ~/Dropbox/Settings/mail-accounts/accounts
+source ~/Dropbox/Settings/mail-accounts/accounts
# }}}
# Key Bindings {{{
--- a/mutt/offlineimaplinux.py Sat Jul 07 20:27:24 2018 +0000
+++ b/mutt/offlineimaplinux.py Sun Jul 08 15:49:42 2018 +0000
@@ -2,8 +2,8 @@
import subprocess
-def get_keychain_pass(account=None):
- command = "pass-work '%s'" % account
- output = subprocess.check_output(command, shell=True, stderr=subprocess.STDOUT)
+def get_keychain_pass(account=None, command='pass'):
+ full_command = "%s '%s'" % (command, account)
+ output = subprocess.check_output(full_command, shell=True, stderr=subprocess.STDOUT)
return output.splitlines()[0]