Skip to content

voidweaver/dotfiles

Repository files navigation

~/.dotfiles

My personal dotfiles repository, managed by chezmoi.

Installation

  1. Make sure you have chezmoi installed

    $ which chezmoi
    /usr/bin/chezmoi
  2. Initialize chezmoi using this repository

    $ chezmoi init https://github.com/voidweaver/dotfiles.git
  3. Preview changes that chezmoi would make to your $HOME

    $ chezmoi diff
  4. Apply the changes

    $ chezmoi apply
  5. Install antigen and vim-plug plugin managers

    $ curl -fLo ~/.antigen.zsh git.io/antigen
    $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

    Note: If you have installed antigen using the official command, you might need to symlink, copy, or move your antigen.zsh to ~/.antigen.zsh. Skip this step if you installed antigen using the command above.

    $ ln -s /path/to/antigen.zsh ~/.antigen.zsh
  6. Install vim plugins

    $ vim +PlugInstall +qall
  7. Start a new zsh shell (plugins will be installed automatically by antigen)

    $ zsh