Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 1.33 KB

File metadata and controls

71 lines (47 loc) · 1.33 KB

github.com/isFakeAccount/dotfiles

Yoshikage Kira 's dotfiles, managed with chezmoi.

Installation

  1. Clone this repo to ~/.local/share/chezmoi.

    git clone https://github.com/isFakeAccount/dotfiles.git ~/.local/share/chezmoi
  2. Install python3-venv and python3-pip if necessary.

  3. cd into the repo, create a python venv and activate it.

  4. Run the ./install.sh script.

Chezmoi Quick Commands

Set up chezmoi from existing dotfiles of a Git repository:

chezmoi init repository_url

Start tracking one or more dotfiles

chezmoi add path/to/dotfile1 path/to/dotfile2 ...

Update repository with local changes

chezmoi re-add path/to/dotfile1 path/to/dotfile2 ...

Edit the source state of a tracked dotfile

chezmoi edit path/to/dotfile_or_symlink

See pending changes

chezmoi diff

Apply the changes

chezmoi --verbose apply

Apply the changes only for specified types like file changes, symlinks, and templates. So basically no scripts are run.

chezmoi --verbose -i files,symlinks,templates apply 

Pull changes from a remote repository and apply them

chezmoi update

Clear the state of run_once_ scripts

chezmoi state delete-bucket --bucket=scriptState