some bits from steve losh dotfiles