The Wayback Machine - https://web.archive.org/web/20200929142852/https://github.com/alebelcor/dotfiles
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
git
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
zsh
 
 
 
 
 
 
 
 
 
 

readme.md

dotfiles

My dotfiles

Installation

mkdir -p ~/projects/dotfiles
cd ~/projects/dotfiles
git clone https://github.com/alebelcor/dotfiles.git .
source scripts/bootstrap

Git-free install

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

Usage

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 named path.zsh is loaded first and is expected to setup $PATH
  • topic/*.zsh: Any files ending in .zsh get loaded into your environment
  • topic/completion.zsh: Any file named completion.zsh is loaded last and is expected to set up autocomplete
  • topic/install.sh: Any file named install.sh is executed when you run scripts/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 run script/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 installation
  • Brewfile: A list of command-line utils, apps, and others, that will be installed via Homebrew, Homebrew-Cask, and mas-cli

Inspired by

License

MIT © Alejandro Beltrán

You can’t perform that action at this time.