Skip to content

iloveitaly/dotfiles

Repository files navigation

Mike Bianco's Dotfiles

What's special here?

Installation

git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && ./bootstrap.sh

When setting up a new Mac, you may want to set some sensible OS X defaults:

./osx.sh

To run everything else (brew install, keybindings, zsh setup, etc):

./bootstrap.sh

Development

For easy development, you can automatically run the rsync command in bootstrap.sh each time a file changes:

fd --hidden --max-depth 4 -t f --exclude=.git | entr rsync --exclude-from=install/standard-exclude.txt -av . ~

Clone Interesting Dotfiles Locally

Clone all of these dotfiles into dotfiles-inspiration folder so you can easily rg for configuration keywords:

interesting_repos=(
  https://github.com/mathiasbynens/dotfiles
  https://github.com/TwP/dotfiles
  https://github.com/ignu/dotfiles
  https://github.com/chrisduerr/dotfiles
  https://github.com/cypher/dotfiles
  https://github.com/vifreefly/dotfiles
  https://github.com/nikitavoloboev/dotfiles
  https://github.com/jeromedalbert/dotfiles
  https://github.com/gf3/dotfiles
  https://github.com/matijs/homedir
  https://github.com/janmoesen/tilde
  https://github.com/ephur/zshrc
  https://github.com/ptarjan/dotfiles
  https://github.com/nixme/dotfiles
  https://github.com/dbalatero/dotfiles
  https://github.com/yujinyuz/dotfiles
  https://github.com/schickling/dotfiles
  https://github.com/jessfraz/dotfiles
  https://github.com/jschaf/dotfiles
  https://github.com/lunchbag/dotfiles
  https://github.com/peterhajas/dotfiles
  https://github.com/evanpurkhiser/dots-personal
  https://github.com/phillbaker/dotfiles
  https://github.com/brucebentley/dotfiles
  https://github.com/mislav/dotfiles
)

cd ~/Projects/dotfiles-inspiration

for repo in $interesting_repos; do
  repo_username=$(echo $repo | cut -d '/' -f 4)
  target_directory="$PWD/$repo_username"

  if [ ! -d "$target_directory" ]; then
    git clone $repo "$target_directory"
  else
    (cd "$target_directory" && git pull)
  fi
done