94e4952fb5d3

unfuck offlineimap and tmux
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 13 Apr 2012 17:14:12 -0400
parents ec3db287229f
children 2d0147123d68
branches/tags (none)
files offlineimaprc offlinimaprc tmux/tmux.conf

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/offlineimaprc	Fri Apr 13 17:14:12 2012 -0400
@@ -0,0 +1,30 @@
+[general]
+ui = TTY.TTYUI
+accounts = SteveLosh
+pythonfile=~/.mutt/offlineimap.py
+
+[Account SteveLosh]
+localrepository = SteveLosh-Local
+remoterepository = SteveLosh-Remote
+
+[Repository SteveLosh-Local]
+type = Maildir
+localfolders = ~/.mail/steve-stevelosh.com
+
+[Repository SteveLosh-Remote]
+type = Gmail
+remoteuser = steve@stevelosh.com
+remotepasseval = get_keychain_pass(account="steve@stevelosh.com", server="imap.gmail.com")
+realdelete = no
+nametrans = lambda folder: re.sub('.*Drafts$', 'drafts',
+                           re.sub('.*Sent Mail$', 'sent',
+                           re.sub('.*Starred$', 'flagged',
+                           re.sub('.*Trash$', 'trash',
+                           re.sub('.*All Mail$', 'archive',
+                           folder)))))
+folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
+                                             'Nagios',
+                                             'Flask',
+                                             '[Gmail]/Important',
+                                             '[Gmail]/Spam',
+                                             ]
--- a/offlinimaprc	Fri Apr 13 16:49:58 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-[general]
-ui = TTY.TTYUI
-accounts = SteveLosh
-pythonfile=~/.mutt/offlineimap.py
-
-[Account SteveLosh]
-localrepository = SteveLosh-Local
-remoterepository = SteveLosh-Remote
-
-[Repository SteveLosh-Local]
-type = Maildir
-localfolders = ~/.mail/steve-stevelosh.com
-
-[Repository SteveLosh-Remote]
-type = Gmail
-remoteuser = steve@stevelosh.com
-remotepasseval = get_keychain_pass(account="steve@stevelosh.com", server="imap.gmail.com")
-realdelete = no
-nametrans = lambda folder: re.sub('.*Drafts$', 'drafts',
-                           re.sub('.*Sent Mail$', 'sent',
-                           re.sub('.*Starred$', 'flagged',
-                           re.sub('.*Trash$', 'trash',
-                           re.sub('.*All Mail$', 'archive',
-                           folder)))))
-folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
-                                             'Nagios',
-                                             'Flask',
-                                             '[Gmail]/Important',
-                                             '[Gmail]/Spam',
-                                             ]
--- a/tmux/tmux.conf	Fri Apr 13 16:49:58 2012 -0400
+++ b/tmux/tmux.conf	Fri Apr 13 17:14:12 2012 -0400
@@ -14,7 +14,7 @@
 
 # This is hilariously absurd.  How many nerds use tmux on OS X every day and
 # it's still fundamentally broken?
-set -g default-command "dammit-tmux -l zsh"
+set -g default-command "reattach-to-user-namespace -l zsh"
 
 # Less stretching to get to the first item.
 set -g base-index 1