Install dotfiles on your OS X workstation. Inspriration from holman does dotfiles by Holman.
Note: This project is extremly powerfull in combination with the Workstation project for setting up your development environment.
Make sure that Oh-My-Zsh, a framework for your ZSH configuration website github is installed.
Run the installation script:
$ ./script/install.sh
The installation script works as follows:
- It symlinks the project to the
$HOME
directory into a directory called.dotfiles
(e.g.~/.dotfiles
) - It installs the ZSH themes to the
$HOME/.oh-my-zsh/themes
directory - It installs the files ending in
*.symlink
to the$HOME
directory
The dotfiles are split up per 'topic' or 'catagory', which is just a directory. The extension on the dotfile decides how the file is handeld:
*.zsh
: File will get automatically loaded into your shell*.symlink
: File will get symlinked to the$HOME
directorypath.zsh
: File will be loaded first and is expected to setup$PATH
or similarcompletion.zsh
: File will be loaded last and is expected to setup autocomplete
However some dotfiles are a bit special, these exsist in a special directory:
./bin/*
: Any file in./bin/
will get added to your$PATH
and be made available everywhere (e.g.subl
)
The dotfiles allow to set up project aliases, these aliases are automatically loaded into your shell. To enable a project alias, create a .alias
file in the project directory.