Fix use of pbcopy, pbpaste and launchctl in OS X

https://github.com/jimeh/dotfiles/commit/3838db8