Personal Lazygit configuration with Catppuccin Macchiato theme.
lazygit/
└── config.yml # Main configuration (theme, language, author colors)
git clone https://github.com/SerenniaHan/dotfiles.git ~/repos/dotfilesLazygit loads its configuration from ~/Library/Application Support/lazygit/config.yml.
ln -s ~/repos/dotfiles/lazygit/config.yml \
~/Library/Application\ Support/lazygit/config.ymlTo verify:
ls -la ~/Library/Application\ Support/lazygit/config.yml
# Expected output:
# lrwxr-xr-x ... .../lazygit/config.yml -> .../dotfiles/lazygit/config.ymlIf the file already exists, back it up first:
mv ~/Library/Application\ Support/lazygit/config.yml \ ~/Library/Application\ Support/lazygit/config.yml.bak ln -s ~/repos/dotfiles/lazygit/config.yml \ ~/Library/Application\ Support/lazygit/config.yml
Lazygit loads its configuration from %APPDATA%\lazygit\config.yml.
Run the following in PowerShell (as Administrator):
New-Item -ItemType SymbolicLink `
-Path "$env:APPDATA\lazygit\config.yml" `
-Target "$HOME\repos\dotfiles\lazygit\config.yml"To verify:
Get-Item "$env:APPDATA\lazygit\config.yml" | Select-Object -ExpandProperty Target
# Expected output: C:\Users\<you>\repos\dotfiles\lazygit\config.ymlIf the file already exists, back it up first:
Rename-Item "$env:APPDATA\lazygit\config.yml" ` "$env:APPDATA\lazygit\config.yml.bak" New-Item -ItemType SymbolicLink ` -Path "$env:APPDATA\lazygit\config.yml" ` -Target "$HOME\repos\dotfiles\lazygit\config.yml"
-
brew install lazygit