Skip to content

Latest commit

 

History

History
47 lines (43 loc) · 1.34 KB

README.md

File metadata and controls

47 lines (43 loc) · 1.34 KB

DOTFILES

These dotfiles are managed via chezmoi

Currently they refer to a sway + zsh configuration on a DELL XPS 15, but not tightly specific to it.

Setup

Install Chezmoi

# Linux
sh -c "$(wget -qO- chezmoi.io/get)"
# Windows/Powershell
(iwr -UseBasicParsing https://chezmoi.io/get.ps1).Content | powershell -c -

For other install methods check this link

Download Dotfiles

Download repository locally

chezmoi init https://github.com/simoneruffini/dotfiles.git

Configure Chezmoi

Create the configuration file for chezmoi:

mkdir ~/.config/chezmoi/
touch ~/.config/chezmoi/chezmoi.toml

And add the mail option in the toml config:

[data]
   email="[email protected]"

This will be used as a template for git and other configurations.

Platform Specific Notes

If you are using wsl add the win_home parameter to set the path to your windows home from wsl

[data]
   win_home="/mnt/c/Users/<windows_username>/"

Install Targets

Get which cahnges will be done by chezmoi with either chezmoi status or chezmoi diff.

If you want to install all dotfiles simply type chezmoi apply -v otherwise select which configurations are necessary and add them one by one with

chezmoi apply <dotfile path from chezmoi status>