Skip to content

gabrielforster/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

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 ~/.config/nvim && dotfiles submodule update
cd ~/.config/zsh && dotfiles submodule update
cd ~/.config/i3 && dotfiles submodule update

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages