1. Command-line Fu

    As developers, we’re constantly tinkering and refactoring code to arrive at the tidiest and most maintainable piece of software. I’m still often surprised by how few of us optimize our working environments via shortcuts, aliases, and habits - especially considering the large time investment we often commit as software engineers.

    Inspired by @hmason's Command-line Fu session at OrdCamp, I realized that there’s a lot of snippets I’ve written and accumulated over the years that could be useful to a young developer.

    So without further adieu, I’ll try to post some of my more useful snippets at least once or twice a month beginning with one of my personal favs: tmux

    Can you figure out what it’s doing? :)

  2. Access to OS X pasteboard in tmux/screen

    If you’re having trouble accessing pbcopy/pbpaste from tmux and/or an unpatched screen, check out https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git

    tl;dr

    1. Clone repo
    2. Run makefile
    3. Add to path (or add symlink on path)
    4. Add set-option -g default-command “reattach-to-user-namespace -l zsh” or whatever your favorite shell is in your .tmux.conf

    code!