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.symlink
tmux/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/bootstrap
mkdir -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/bootstrap
Everything 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.zsh
is loaded first and is expected to setup$PATH
topic/*.zsh
: Any files ending in.zsh
get loaded into your environmenttopic/completion.zsh
: Any file namedcompletion.zsh
is loaded last and is expected to set up autocompletetopic/install.sh
: Any file namedinstall.sh
is executed when you runscripts/install
. To avoid being loaded automatically, its extension is.sh
, not.zsh
topic/*.symlink
: Any file ending in.symlink
gets symlinked into your$HOME
when you runscript/bootstrap
There are other files/folders not related to a specific "topic":
bin/
: Anything here will get added to the$PATH
scripts/
: 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