Skip to content

bradwright/dotfiles

Repository files navigation

Home directory

This basically exists to set up my OS X command line environment to something sensible, which means:

  • Set up Emacs
    • Set EDITOR and VISUAL to the right emacsclient
    • Make sure that emacs -nw etc. launches the correct Emacs (OS X ships with version 22 - the current version is 24.1)
  • Set up some Homebrew paths
    • Install bash-completion
  • Do the right thing for rbenv
  • Add some sensible Git defaults (such as autorebase)

It also deals with the OS X bashrc vs bash_profile issue (it's the reverse of how they're executed on Linux).

Also included are tmux and screen configuration for when I need to set up a remote machine.

Installing pbcopy/pbpaste Launch Daemons

Copy the XML out of bin/rpbcopy and bin/rpbpaste into files named:

  • ~/Library/LaunchAgents/localhost.pbcopy.plist and
  • ~/Library/LaunchAgents/localhost.pbpaste.plist respectively.

Then run:

launchctl load ~/Library/LaunchAgents/pbcopy.plist
launchctl load ~/Library/LaunchAgents/pbpaste.plist

to start the daemons. For more information please see remote pbcopy.

Formerly known as homedir

This used to be called homedir, and was based on Norm's homedir, but has since stopped bearing enough resemblance to that to be called a fork, hence it's a new repository.