Skip to content

Latest commit

 

History

85 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

Overview

These are my dotfiles for use on arch and ubuntu based linux distributions. It includes:

Setup

  1. Clone the repo
cd ~
git clone --bare git@github.com:gabrielforster/dotfiles.git .dotfiles
  1. Include the dotfiles alias in .bashrc / .zshrc
echo alias dotfiles=\"git --git-dir='$HOME'/.dotfiles --work-tree='$HOME'\" >> .bashrc
source ~/.bashrc

Avoid tracking files not in the repo.

dotfiles config status.showUntrackedFiles no

Move the files to their locations.

dotfiles checkout
  1. Install the submodules
cd ~
dotfiles submodule update --init --recursive
  1. Checkout to master branch on submodules
dotfiles submodule foreach 'git checkout master'

Usage

Once setup, useful commands include:

dotfiles status
dotfiles add <filename> # to add dotfiles changes
dotfiles add -u # to add unstaged files

About

Dotfiles repository containing my linux config files.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages