Skip to content

my little place for accumulating dotfiles.

Notifications You must be signed in to change notification settings

chrhjoh/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotFiles

This repository contains my dotfiles for configuration of:

Installation

I manage my dotfiles with a bare git repository. That means the files can be cloned directly. After installing yadm, this repository can be cloned by running:

git clone --bare git@github.com:chrhjoh/dotfiles.git $HOME/.dot
git --git-dir=$HOME/.dot --work-tree=$HOME checkout

In cases where this fails because of present files, they can be moved by running the following commands.

mkdir -p .config-backup && \
git --git-dir=$HOME/.dot --work-tree=$HOME checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}

This backs up any config files that would be overwritten and then you can rerun the checkout command from above.

A bootstrapping script is supplied for installing various applications on macOS using brew and the Brewfile in this repository. This has not been tested on any other OS and will likely not work. This script will also download homebrew if it is not present currently. Bootstrapping can be done by:

~/.bin/bootstrap.sh

Usage

Before using you may want to remove any untracked files for this repository

.git config --local status.showUntrackedFiles no

An alias is created to interact with the created git repo. This can be used to add, commit, revert etc as needed. As an example:

.git status

About

my little place for accumulating dotfiles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published