Skip to content

Nollde/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

locals

Description

Dotfiles for personal use. The setup follows these instructions.

Setup

First clone the dotfiles repository into your $HOME directory and set it up such that the dotfiles can be cloned into the $HOME area

# Clone dotfiles repository
git clone --bare [email protected]:Nollde/dotfiles.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles checkout

If you already have dotfiles set up, we push them into a backup directory

mkdir -p .dotfiles-backup && \
dotfiles checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .dotfiles-backup/{}

then checkout the dotfiles again

dotfiles checkout

Do not show untracked files (everything else in the $HOME directory)

dotfiles config --local status.showUntrackedFiles no

Use

dotfiles status
dotfiles add .vimrc
dotfiles commit -m "Add vimrc"
dotfiles add .bashrc
dotfiles commit -m "Add bashrc"
dotfiles push

About

Bashrcs and other locals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages