Commits on Feb 16, 2017
  1. ssh: remove some broken settings

    - Can no longer use `ControlMaster` on corp hosts as they've been locked
      down in some way (presumably with `MaxSessions` or something).
    - Remove unused document-uploads settings.
    - Remove some redundant settings.
    committed Feb 16, 2017
  2. zsh: update common private directory hashes

    No real changes here, but I had some crap in the file, removed it, and
    wanted to be sure that the repo reflected the current reality. (If I did
    this right, it's the same as the previous reality, but I just want to be
    committed Feb 16, 2017
Commits on Feb 15, 2017
  1. mutt: suppress appearance of unwanted Archive1 folder

    Looks like an Outlook bug:
    Nothing to do with mbsync (even when mbsync is not running, I can delete
    the folder in the Outlook web UI, and it's back there again on the next
    refresh). Currently trying to delete it using the macOS Outlook app, but
    in any case, going to implement this band-aid for now so that I won't
    have to see the folder no matter what happens.
    committed Feb 15, 2017
Commits on Feb 14, 2017
  1. brew: Add srm

    It was removed in Sierra, most likely due to Apple's desire to purge
    macOS of the GPL:
    Note that to actually get Homebrew to install it without complaining
    about an invalid certificate chain, I had to run this first:
      export SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem
    committed Feb 14, 2017
  2. doc: Add some entries to the changelog

    These aren't all the user-visible changes, but some "noteworthy" ones.
    committed Feb 14, 2017
Commits on Feb 13, 2017
  1. zsh: add conveniences for pretty-printing JSON

    - Basic `prettyjson` alias and `J` global alias for simple use cases
      (depends on Python, so should work just about anywhere).
    - `jq` for complex cases (depends on Homebrew-install).
    For most cases `prettyjson` and `J` will do the trick. For anything more
    complicated, use `jq` (and may want to use it anyway because it has nice
    colorized output). For example, I wanted to look at my list of Time
    Machine backup exclusions, so I did:
    plutil -convert json -o - -- /Library/Preferences/ | jq .SkipPaths | sort
    committed Feb 13, 2017
Commits on Feb 9, 2017
  1. vim: Remove premature optimization of `executable()` check

    No need to defer it. Measured it and the whole script only takes on the
    order of a millisecond.
    committed Feb 9, 2017
  2. vim: use "par" to re-wrap text

    Originally started looking into this for mutt, but as noted in the
    comments inline, it has some unfavorable interactions there that I can't
    be bothered working through at this time. Specifically, it causes a
    prompt to appear when auto-viewing HTML email (could probably fix that
    with a tweak to the mailcap file, but truth is I only want the
    `$display_filter` to run on plain text email parts anyway), and it also
    messes up the index display, leaving lingering artifacts.
    That means we can't use it as a mutt `$display_filter`, but we can
    still use it in Vim, which means that we can reformat ugly mails at
    composition time quite easily if we want with `gq` (also `gqq`, although
    that is slightly less useful). This is nice because we still have access
    to `gw` (and `gww`) to use Vim's internal formatter, in the event that
    `par` should ever do the wrong thing.
    Using the basic settings recommended in `man par`, but adding `_0`
    (digits) to the "body" characters, because I can't think of a situation
    in which I'd want these to be considered part of a prefix or suffix.
    To avoid a slow `executable` check, we defer setting `'formatprg'`,
    except when we're booting directly into composing a mail. This is
    probably stupid overkill and I will remove it. I bet `executable()`
    introduces an imperceptible delay, and I only did this because I was
    thinking of the cost of *forking* `par`, something that we're not doing.
    Another drawback to note: `'formatprg'` is not `'textwidth'`-aware. I
    think I could hack something together with autocommands, but I will
    leave that for another day. `'formatexpr'` is a non-starter because it
    runs so often, so I can't fork there, and maintaining cursor position
    would be a mess.
    committed Feb 9, 2017
  3. vim: allow Spanish in mail messages

    Vim will offer to download the Spanish dictionary files the first time
    `'spelllang'` is set:
    - es.utf-8.spl
    - es.utf-8.sug
    Ignoring these rather than committing them because they are binary
    committed Feb 9, 2017
Commits on Feb 7, 2017
  1. mutt: open .ics files with Fantastical 2

    And switch to bundle identifier because it is more distinguishing.
    committed Feb 7, 2017
  2. mutt: simplify and align $folder_format

    - Remove crap I never look at.
    - Align numbers to match formatting of numbers in message list views.
    committed Feb 7, 2017
Commits on Feb 2, 2017
  1. mutt: show a * next to folders with new mail in them

    Note "new" here doesn't mean "unread", it means "unseen". Once you've
    opened the folder, even if you don't read the messages, the star goes
    The intent here is to go part of the way towards having `%N` (unread
    count) without have to pay the full cost of `$mail_check_stats`.
    committed Feb 2, 2017
  2. mutt: drop (stale) count from sidebar

    Experimenting without `$mail_check_stats`, finding I don't like the
    stale counts. Better to not have them at all.
    committed Feb 2, 2017
  3. mutt: tweak in an attempt to avoid long hangs

    Suspect here is `$mail_check_stats`, given the amount of mail I have.
    Suggestion to also "increase" `$timeout` from here:
    ("Increasing" it from 0 to 60 here actually means changing it from
    infinity to 60.)
    The only drawback here is that without `$mail_check_stats` I can no
    longer reliably show the message count in the folder list, so I am
    removing that. Additionally the count in the sidebar is missing (0) or
    inaccurate until I go to that mailbox, but if this solves the hangs then
    I think it will be worth it. Giving it a try anyway. If the inaccuracy
    becomes too annoying, I'll see if I can live without the count in the
    committed Feb 2, 2017
Commits on Feb 1, 2017
  1. mutt: filter logwatch messages

    committed Feb 1, 2017