bil0u / .dotfiles

macOS / Windows automated bootstrapping using https://chezmoi.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown Monster icon
Personal computers bootsrapping made easy

Installation β€’ Frequent commands β€’ Documentation β€’ Credits


πŸ’¬ Intro

These are my dotfiles, managed with chezmoi. Take anything you want, but use at your own risk.

I'm using it to manage my macOS and Windows environments.

🚧 Installation

macOS

You can either use the install.sh script if you cloned the repo locally, or use this one liner to do a remote install:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/bil0u/.dotfiles/main/install.sh)" -- -r
Windows

You can either use the install.ps1 script if you cloned the repo locally, or use this one liner to do a remote install:

$installer = "$env:temp\dot-install.ps1"; Invoke-WebRequest "https://raw.githubusercontent.com/bil0u/.dotfiles/main/install.ps1" -OutFile "$installer"; PowerShell.exe -ExecutionPolicy Bypass -File "$installer" -Remote; Exit;

Finally, you should check for any manual steps to complete the installation.

♻️ Frequent commands

# Checks for common problems
dot doctor

# Adds a $FILE from the home directory to the source directory
dot add $FILE [--follow --template --autotemplate --encrypt ...]

# Opens your editor with the file in the source directory that corresponds to $FILE
dot edit $FILE

# Updates the dotfiles from the source directory.
dot apply

# Pulls the latest changes from the remote repo and runs chezmoi apply
dot update

# Full removal of both dotfiles and chezmoi
dot update

# NOTE: `dot` is an alias for `chezmoi`

For full list, see command overview, and daily operations

πŸ“š Documentation

    docs
      β”œ darwin: macOS related documentation
      β”œ windows: Windows related documentation       β”œ manual-steps: Steps to do manually to complete the installation       β”” resources: Useful resources used for the project

πŸŽ‰ Credits

About

macOS / Windows automated bootstrapping using https://chezmoi.io


Languages

Language:Shell 95.5%Language:PowerShell 4.5%