These are my dotfiles. There are many like them, but these are mine. Without chezmoi, they are useless.
# apk add chezmoi
$ chezmoi init --apply juliekoubova --source ~/dotfiles
# julie-setup
# pkg install chezmoi
$ chezmoi init --apply juliekoubova --source ~/dotfiles
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
% /opt/homebrew/bin/brew install chezmoi
% /opt/homebrew/bin/chezmoi init --apply juliekoubova --source ~/dotfiles
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
% brew install chezmoi
% chezmoi init --apply juliekoubova --source ~/dotfiles
First, run this in an elevated PowerShell:
# Enable Developer Mode (needed for symlink privileges)
New-Item HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock -ea 0
Set-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock AllowDevelopmentWithoutDevLicense -Type DWord -Value 1
# Enable scripts in Windows PowerShell
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned -Force
# Enable Sudo for Windows
sudo config --enable normal
Then reboot and execute this in a non-elevated PowerShell:
winget install --id twpayne.chezmoi
chezmoi init --apply juliekoubova --source C:\src\dotfiles
sudo any-pwsh -Command julie-setup
Finally, open a n
-
Generate an SSH key if there isn't one yet.
# ssh-keygen -t ed25519 # cat ~/.ssh/id_ed25519.pub | wlcopy
-
Go to Settings > SSH and GPG keys and add it there.
-
Change the repo's
origin
remote to use SSH:# git remote set-url origin git@github.com:juliekoubova/dotfiles.git