# HG changeset patch # User Steve Losh # Date 1334351652 14400 # Node ID 94e4952fb5d353abc92afeddeb1344a8ec6afd06 # Parent ec3db287229fc2bc03231a62ee565b80db32c55d unfuck offlineimap and tmux diff -r ec3db287229f -r 94e4952fb5d3 offlineimaprc --- /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', + ] diff -r ec3db287229f -r 94e4952fb5d3 offlinimaprc --- 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', - ] diff -r ec3db287229f -r 94e4952fb5d3 tmux/tmux.conf --- 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