For more information about dotfiles, Rosco Kalis wrote these articles on his blog:
- Dotfiles: automating macOS system configuration
- Increasing development productivity with repository management
- Set up a Hyper Key with Hammerspoon on macOS
- Restore your safely backed up ssh keys to
~/.ssh/
- Alternatively, generate new ssh keys, and add these to your GitHub account
- Install Homebrew and git
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
- Clone this repository
git clone [email protected]:devinpearson/dotfiles.git
- Run the
bootstrap.sh
script- Alternatively, only run the
setup.sh
scripts in specific subfolders if you don't need everything
- Alternatively, only run the
- (Optional) Install missing applications from the internet
- (Optional) Point the Alfred preference sync to the right folder
I strongly encourage you to play around with the configurations, and add or remove features. If you would like to use these dotfiles for yourself, I'd recommend changing at least the following:
- The .gitconfig file includes my [user] config, replace these with your own user name and email
- At the top of the setup.sh file, my computer name is set, replace this with your own computer name
This folder is a collection of the programs and utilities I use frequently. These lists can easily be amended to your liking.
This folder is a collection of my own repos, some of which are even private. The existing lists can easily be edited or replaced by custom lists.
- bootstrap.sh - Calls all setup.sh scripts
- setup.sh - Symlinks the other contents of the folder to
~/bin/
- imgcat - A utility to display images inline in iTerm 2
- sethidden - A shell script which takes command line arguments to show or hide hidden files
- togglehidden - A shell script that toggles between showing and hiding hidden files
- setup.sh - Symlinks all git files to
~/
- .gitignore_global - Contains global gitignores, such as OS-specific files and several compiled files
- .gitconfig - Sets several global Git variables
- setup.sh - Executes a long list of commands pertaining to macOS Preferences
- setup.sh - Installs the contents of the .list files and the Brewfile
- setup.sh - Clones the repositories in the .list files at the corresponding locations
- functions.sh - Contains helper functions for symlinking files and printing progress messages