Based on Mathias ones.
Please refer to his documentation for more details.
You can clone the repository wherever you want. (I like to keep it in ~/dotfiles
) The bootstrapper script will pull in the latest version and copy the files to your home folder.
git clone https://github.com/vesparny/dotfiles.git
cd dotfiles
./bootstrap.sh
from the dotfiles
repo folder just run
./bootstrap.sh
this will pull the repo and update your dotfiles.
If ~/.path
exists, it will be sourced along with the other files
Here’s an example ~/.path
:
#give brew priority on other binaries
PATH=/usr/local/bin:/usr/local/sbin:${PATH}
#something else
PATH=$PATH:~/code/git-friendly
...
exoprt PATH
If ~/.extra
exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository (Like git user and email)
Useful functions like:
- encrypt
- decrypt
- ...
Useful aliases like:
- secureEmptyTrash
- emptyTrash
- ...
vim config.
When setting up a new Mac, you may want to set some sensible OS X defaults:
./.osx
When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):
brew bundle ~/Brewfile
You could also install native apps with brew cask
:
brew bundle ~/Caskfile
- review of
.editorconfig
,Brewfile
,Caskfile
- track basic nodejs -g packages (Like httpster)
- add sublime shortcuts
- install quicklook plugins