My configuration files for web development, and scripts to bootstrap a macOS machine.
Set up for use with rcm.
For a new macOS install, open up the Terminal application.
For new machines, where no Github account has been logged into:
git clone https://github.com/paulfioravanti/dotfiles.git ~/.dotfiles
On a new machine, running the git
command will prompt you to install the
XCode Command Line Tools.
git clone git@github.com:paulfioravanti/dotfiles.git ~/.dotfiles
Before setting up a development environment on a new machine:
- Install XCode (if you run into any other issues that would actually necessitate installing it or you are going to do Mac/iOS development)
This script updates macOS to the latest version, installs XCode command line tools, and gets the machine in a state where other developer tools can be installed.
source ~/.dotfiles/bootstrap.sh
This script will install a bunch of developer-related tools.
source ~/.dotfiles/setup.sh
Once setup has finished, restart computer and run the update
function that
is contained in the zshrc
file (zsh should have been installed during the
bootstrap process):
update
Generate dotfile directory, excluding (-x
) files that don't need to be
symlinked to the home directory (this step will be performed during the
bootstrap process above):
rcup -x README.md -x LICENSE.txt -x setup.sh -x config.sh -x '*:vim:setup.sh' -x '*:tmux:setup.sh' -x '*:oh-my-zsh:setup.sh' -x macos -x asdf -x 'Library/Services'
rcup -x README.md -x LICENSE.txt -x setup.sh -x config.sh -x \*:vim:setup.sh -x \*:tmux:setup.sh -x \*:oh-my-zsh:setup.sh -x macos -x asdf -x 'Library/Services'
rcup
Once initial setup has been run, the .rcrc
config file for rcup
will have
been created that contains the exclusions, so only $ rcup
will need to be run
in the future (unless more files to be excluded from being symlinked are added).
Regenerate config for all apps and libraries under dotfiles (all of these scripts get run during the bootstrap process):
source ~/.dotfiles/config.sh
Or individually (choose relevant script to regenerate config):
source ~/.dotfiles/macos/homebrew/config.sh
source ~/.dotfiles/macos/iterm2/config.sh