Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.16 KB

README.md

File metadata and controls

61 lines (33 loc) · 1.16 KB

dotfiles

Installation

Requirements

You'll need

  • zsh
  • git
  • GNU stow

Install

wget

wget -O- https://raw.githubusercontent.com/sedlund/dotfiles/master/install.sh | sh -

The repo will be cloned to ~/.dotfiles .

Use

From the repo directory you can see the feature module directories and can enable individual ones like so:

stow zsh lvim tmux

or enable everything:

stow */

To disable:

stow -D tmux

Development

Build testing image

cd ~/.dotfiles

Using Podman

REF=$(git log -1 --format=%H); podman build . --tag dotfiles-testing:${REF} --tag dotfiles-testing:latest

Run

podman run -it --rm --name dotfiles dotfiles zsh

Using Docker to build

REF=$(git log -1 --format=%H); docker build . --file Containerfile --tag dotfiles-testing:${REF} --tag dotfiles-testing:latest

Build development image

I use this image as a development environment, it has additional tools that I use that are not required for testing dotfiles deployment. It's built from the above dotfiles-testing image.

REF=$(git log -1 --format=%H); podman build . --file Containerfile.devbox --tag dotfiles-dev:${REF} --tag dotfiles-dev:latest