This repo contains machine-agnostic dotfiles and some extra files for setting up emacs on OS X.
- Clone the repo
- Symlink each file that you wish to use so that the dotfiles in your home directory point to the dotfiles from this repo. For example:
ln -s /location/of/the/repo/.bashrc ~/.bashrc
The following install commands along with the included .bashrc can gracefully handle emacs as the git editor and will create and open files if they don't already exist.
brew install --cask emacs
- Run emacs with the
emacs
command
In order to give new emacs windows focus:
brew install hammerspoon
hs
then allow permissions in the hammerspoon gui