Thanks to Matias' dotfiles for the template and inspiration.
Warning: This will overwrite your existing dotfiles. Back them up!
git clone https://github.com/joshwlewis/dotfiles.git && cd dotfiles && source bootstrap.sh
The bootstrap script symlinks your dotfiles. So you can just update this repo
with git pull
.
If ~/.path
exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls
is being used) takes place.
Here’s an example ~/.path
file that adds /usr/local/bin
to the $PATH
:
export PATH="/usr/local/bin:$PATH"
If ~/.extra
exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.