git clone https://github.com/ioncache/dotfiles.git
cd dotfiles
npm installnpm run lintThis runs the repo lint suite:
shellcheckfor bash and sh-oriented fileszsh -nfor zsh-specific filesmarkdownlint-cli2for Markdown files
To run the staged-file variant used by pre-commit:
npm run lint:shell:stagedhusky installs the repo hooks during npm install via the prepare script.
The pre-commit hook runs lint-staged, which applies shell linting only to staged shell files.
For narrow local checks while iterating:
bash -n setup.sh lib/*.sh dotfiles/.bash_profile dotfiles/.bashrc dotfiles/.profile dotfiles/.shell_common
zsh -n dotfiles/.zshrc dotfiles/.ohmyzshrcTo install the repo-managed dotfiles into your home directory:
./setup.sh dotfilesTo run the full unattended install flow:
NONINTERACTIVE=1 GIT_NAME='Jane Doe' GIT_EMAIL='jane@example.com' ./setup.sh install