- Ubuntu & macOS friendly
- Features organized by topics, easy to add/remove
- Install macOS apps from
homebrewandmas-cli - zsh with sensible defaults
- vscode
- vimrc with plugin support (via
vim-plug) - iTerm (preference sync via Google Drive)
- Git (with
hubandgh) - Python version management (pyenv/pyenv-virtualenv)
- Ruby/Go/Docker/awscli
- A lot of useful aliases
- ...
- bin/: Anything in
bin/will get added to your$PATHand be made available everywhere. - Brewfile: This is a list of applications for Homebrew Cask to install: things like Chrome and 1Password and stuff. Might want to edit this file before running any initial setup.
- topic/*.zsh: Any files ending in
.zshget loaded into your environment. - topic/path.zsh: Any file named
path.zshis loaded first and is expected to setup$PATHor similar. - topic/completion.zsh: Any file named
completion.zshis loaded last and is expected to setup autocomplete. - topic/install.sh: Any file named
install.shis executed when you runscript/install. To avoid being loaded automatically, its extension is.sh, not.zsh. - topic/*.symlink: Any file ending in
*.symlinkgets symlinked into your$HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap.
git clone https://github.com/sfdye/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
# Set up git
# gitconfig.local.symlink will be ignored by git, so you don't need to
# worry about credentials beigin commited accidently
cp git/gitconfig.local.symlink.example git/gitconfig.local.symlink
# Modify Brewfile/mas-apps.txt
# remove stuff you don't need or add your favorite apps!
# The fun begins
script/bootstrapIf you wanna set up git, rename gitconfig.local.symlink.example.
This will symlink the appropriate files in .dotfiles to your home directory.
Everything is configured and tweaked within ~/.dotfiles.
The main file you'll want to change right off the bat is zsh/zshrc.symlink,
which sets up a few paths that'll be different on your particular machine.
# Modify zshrc.symlink, add a new topic (e.g. java), delete some apps from Brewfile, you name it
# Load changes in your terminal
reload!