chezmoi not in dotfiles
....
Merge branch 'master' of git.sr.ht:~will-clarke/.dotfiles
The aim is these should work both on MacOS & Linux.
I try to keep my tools simple. At the moment I like nvim, the fish shell & kitty On MacOS, I use Karabiner for some better shortcuts / customisability. On Linux I like Arch & Sway as a window manager.
git clone
this repostow config
and anything else you may wantProbs makes sense to install gitleaks (brew install gitleaks
) and use it as a pre-commit hook:
echo "gitleaks protect" > .git/hooks/pre-commit
Since MacOS and Linux are slightly different, I've got two sets of executables.
cd $HOME && git clone git@git.sr.ht:~will-clarke/.dotfiles
# OR via https;
# cd && git clone https://git.sr.ht/will-clarke/.dotfiles
cd .dotfiles && stow bin-mac config git
# Apply mac-specific settings
curl https://git.sr.ht/~will-clarke/.dotfiles/blob/master/docs/setup_new_mac.sh -o setup_new_mac.sh && chmod +x setup_new_mac.sh
vi setup_new_mac.sh
# if this look good...
# ./setup_new_mac.sh
# Install gitleaks
brew install gitleaks
echo "gitleaks protect" > .git/hooks/pre-commit