Skip to content

th2ch-g/dotfiles

Repository files navigation

dotfiles

last-commit license repo-size

example

Install

  • for each case needs to run ./install.sh -b -c -p again

For me

git clone --branch main --recursive git@github.com:th2ch-g/dotfiles.git && \
cd ./dotfiles && \
./install.sh -b -c -p -v -z -t -g -n -m

For Guest

git clone --branch main --recursive https://github.com/th2ch-g/dotfiles.git && \
cd ./dotfiles && \
./install.sh --zsh --vim --tmux

From Dockerfile

Case1: Pull from ghcr

docker pull ghcr.io/th2ch-g/dotfiles:latest
docker run --rm -it ghcr.io/th2ch-g/dotfiles zsh

Case2: Build locally

  • If you want to use as guest, change Dockerfile
git clone --branch main --recursive https://github.com/th2ch-g/dotfiles.git && \
docker image build -t myenv dotfiles/docker && \
docker run --rm -it myenv zsh

Update

Simple

git pull origin main

Overwrite

git fetch origin main && \
git reset --hard origin/main

Submodule update

git submodule update --remote <submodule_path>

Contents