These are my dotfiles, in the hope to simplify the transiction to any new machine.
- The starting point is Xcode, and its Command Line Tools which you can install via
xcode-select --install
- You'll now have
git
, use it to clone this repo - Install Homebrew
- Run the
setup.sh
script, which will symlink all the dotfiles to$HOME
and install the other tools (when runningbrew bundle
, it might look unresponsive, but it's actually just installing casks silently) - Open Vim and install its plugins via
:PlugInstall
- Open and configure 1Password
- Open and configure Dropbox, as it contains the config folders for other apps
Apps you'll want to launch and configure next:
- Alfred (wait for its
.preferences
folder to appear in Dropbox) - Shortcat
- RescueTime
- Tadam
- Hammerspoon
- flux
Zsh will be installed through Homebrew, but it needs to be set as the default shell: chsh -s $(which zsh)
If the command errors saying chsh: <# path #>: non-standard shell
make sure that the path is listed in /etc/shells
, if not sudo vim /etc/shells
and add it. Now run chsh
again.
Open a new shell instance and type echo $SHELL
to make sure zsh is the current shell. If it isn't maybe try logging in and out.
The setup is currently depending on prezto, have a look at the entire installation section of the README.
You will also need to ln -s ~/.zprezto/runcoms/zpreztorc ~/.zpreztorc
to enable the Prezto modules, as at the moment those are not configure in this setup.
If you get some errors about insecure folders when starting a Zsh session, check this issue.
You can get your snippets using xcsnippets.
Also don't forget to download the documentation, so that it can be used by Dash.
The script installs PHP, but doesn't install Composer, which you'll have to do manually following the instructions here.
- How to enable three fingers drag
- How to complete the GPG Git signing setup and makes sure to use
/opt/homebrew/bin/pinentry-mac
instead of/usr/local/bin/pinentry-mac
on an Apple Silicon machine!
hub
needs a configuration file in~/.config/hub
; seehub.example
in this repo