Maintaining my dot files across multiple environments.
Ensure these core dependencies are installed:
sudo git bash
If bootstrapping macOS, see instructions. If bootstrapping Debian, see instructions.
Then, retrieve this repo and set up git aliases:
git clone [email protected]:j-hui/pokerus.git ~/pokerus && cd ~/pokerus && git config --local include.path ../.gitconfig
Optionally, disinfect your system (warning: not well-tested):
git disinfect
Install Bash hook, and setup Git and Bash:
git homemaker && git infect bash git
Full terminal rig:
git infect vim nvim.config zsh.config tmux clitools.config tms.local
Darwin/Aqua rig:
git infect yabai.config skhd.config qutebrowser
Linux/X11 rig:
git infect x.config x qutebrowser.config qutebrowser alacritty.config media.config desktop.local-share
Doom Emacs rig:
git infect doom-emacs
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d && \
~/.emacs.d/bin/doom install
If install
fails, running it a second term fixes it for some reason..
git config --global user.email <email>
git config --global user.name <name>
Run sudo visudo
, and stick this at the bottom:
<user> ALL=(ALL) NOPASSWD:ALL
Not recommended for machines where security is a priority.