This basically exists to set up my OS X command line environment to something sensible, which means:
- Set up Emacs
- Set
EDITOR
andVISUAL
to the rightemacsclient
- Make sure that
emacs -nw
etc. launches the correct Emacs (OS X ships with version 22 - the current version is 24.1)
- Set
- Set up some Homebrew paths
- Install
bash-completion
- Install
- 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.
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.
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.