How I set up my dev system.
This is my third attempt trying to setup my dotfiles. It is needless to say that I failed badly the first 2 times, but I'm beliver and I don't wanna give up.
These dotfiles originates from a fork of the excellent work done by Max and with some copy-pasta from Paul's dotfiles. Thanks Max and Paul for all the 🐟.
My dotfiles follow holman's concept of "topical" organization. Each topic has its own directory with special filename conventions ⚡️:
- topic/install.sh: script executed when installing/updating the topic
- topic/symlink.sh: script executed when symlinking the topic
- topic/name.symlink: files picked up by the
symlink.sh
script of the topic - topic/finalize.sh: script executed at the end, after the installation/update and the symlink
(Note: the homebrew
topic is always evaluated first as other topics depend on it.)
(on new computer: set up ssh keys first)
# start in the home directory
cd
# clone repository
git clone --recursive [email protected]:nickgnd/dotfiles.git
# navigate into the new directory
cd dotfiles
# run the install script
script/setup
See docs for additional help.