Skip to content
forked from dhnza/dotfiles

My collection of dot files, plugins, and other configurations.

Notifications You must be signed in to change notification settings

tygoetsch/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Installation

Automatic

Run the automatic installation script:

curl -Ls https://gist.github.com/dhnza/6b384f52ce32342761cc00f9d26311fa/raw/dotfiles-install.sh | /bin/bash

Manual

Clone dotfiles into a bare git repository. The git tracking information will be stored in ~/.dotfiles.

git clone --bare git@github.com:dhnza/dotfiles.git ~/.dotfiles

For convenience, create a dotfiles alias for managing the repositroy.

alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

Disable showing files not tracked by the git repositry,

dotfiles config --local status.showUntrackedFiles no

Backup your existing configuration into ~/.dotfiles-backup.

mkdir -p ~/.dotfiles-backup && dotfiles checkout 2>&1 | egrep '\s+\.' | xargs -i mv {} ~/.dotfiles-backup

Checkout your dotfiles to your $HOME:

dotfiles checkout 

Sources

  1. https://www.anand-iyer.com/blog/2018/a-simpler-way-to-manage-your-dotfiles.html
  2. https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/

About

My collection of dot files, plugins, and other configurations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 36.0%
  • Shell 32.1%
  • Vim Snippet 31.9%