This is running with Bash on a Mac
dotfiles
directory holds all subsequent settings. This helps visibility.
The entry point is ~/dotfiles/init.sh
. It finds all nested directories and parses all .sh
files under each of those directories. Only 'General' and 'Programs' are not gitignored, so add more directories to put your private things in.
* Files in the repo are opt in. Meaning everything is gitignored by default.
Each entry is measured to create visibility of startup cost.
cd ~
git clone <REPO>
cd dotfiles
./setup.sh
- Everything is under
~/dotfiles
directory.- The call to
~/dotfiles/init.sh
has been added to.bash_profile
if it isn't already there.- symlinked files:
- .bash_profile
- .gitconfig
- .npmrc
- .bin
- hosts (/etc/hosts)
- shells (/etc/shells)
brew install coreutils
- milliseconds support in date is required. I'm gnu date (gdate)