My dotfiles
gas-mask/work.hst: Extended hosts file for work-related hostname mappings. If file does not exist, an empty file will be createdgit/gitconfig.local.symlink: Extended Git configuration for private, or work-related stuffgit/gitignore.local.symlink: Extended ignore list for Git, referenced ingitconfig.local.symlinktmux/tmux.conf.local.symlink: Extended Tmux configuration for private, or work-related stuff
mkdir -p ~/projects/dotfiles
cd ~/projects/dotfiles
git clone https://github.com/alebelcor/dotfiles.git .
source scripts/bootstrapmkdir -p ~/projects/dotfiles
cd ~/projects/dotfiles
curl --location https://github.com/alebelcor/dotfiles/tarball/master | tar -xz --strip-components 1 --exclude={.editorconfig,.gitattributes,.gitignore,license,readme.md}
source scripts/bootstrapEverything is built around "topics".
A "topic" is a folder associated to a specific subject (e.g. node for Node.js).
A "topic" will have setup and configuration relevant to the subject like so:
topic/path.zsh: Any file namedpath.zshis loaded first and is expected to setup$PATHtopic/*.zsh: Any files ending in.zshget loaded into your environmenttopic/completion.zsh: Any file namedcompletion.zshis loaded last and is expected to set up autocompletetopic/install.sh: Any file namedinstall.shis executed when you runscripts/install. To avoid being loaded automatically, its extension is.sh, not.zshtopic/*.symlink: Any file ending in.symlinkgets symlinked into your$HOMEwhen you runscript/bootstrap
There are other files/folders not related to a specific "topic":
bin/: Anything here will get added to the$PATHscripts/: Contains scripts relevant to the dotfiles installationBrewfile: A list of command-line utils, apps, and others, that will be installed via Homebrew, Homebrew-Cask, andmas-cli
MIT © Alejandro Beltrán