8000 GitHub - mjec/dotfiles-bootstrap: Just the bootstrap for my private dotfiles repo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Just the bootstrap for my private dotfiles repo

License

Notifications You must be signed in to change notification settings

mjec/dotfiles-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

mjec's dotfiles

Bootstrap repo

This repository only contains the bootstrap.sh files, as I am too lazy to ensure there's no sensitive info in my dotfiles such that I can publish them. At some point I may do that, but for now, this repo contains just the relevant bootstrap script, designed to be pulled into another repo with branches for various dotfile setups, as described below.

Repository operation

This has something of an unusual structure, in that we care about branches.

Specifically, the main branch only contains this readme and a bootstrap script.

You can clone this anywhere, then run bootstrap.sh from your home directory. The rest will Just Work.

You can set the following environment variables:

Variable Description
DRY_RUN Set to a non-empty value to avoid running any commands that would write data, instead printing them to stdout.
GIT_DIR The directory in which to store git data. Defaults to $HOME/.dotfiles.
WORK_TREE The directory in which to store the actual dotfiles. Defaults to $HOME.
REPO The repository from which to fetch dotfiles. Defaults to the URL of the current upstream of the currently checked-out branch of bootstrap.sh, or git@github.com:mjec/dotfiles.git if this is not a git repo or does not have an upstream.
BRANCH The name of the branch to checkout. If not specified but bootstrap is run from a tty, the user will be prompted to pick a branch. May also be specified as the first positional argument to bootstrap.sh, which will take precedence over the environment variable.

About

Just the bootstrap for my private dotfiles repo

Topics

Resources

License

Stars

Watchers

Forks

Languages

0