Skip to content

aitva/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ca010a7 · Mar 7, 2025
Sep 5, 2023
Aug 18, 2021
Jan 27, 2023
Mar 7, 2025
Mar 7, 2025
Feb 7, 2020
Nov 14, 2022
Mar 7, 2025
Mar 7, 2025
Mar 7, 2025
Nov 14, 2022
Dec 15, 2017
Mar 10, 2023
Jan 27, 2023

Repository files navigation

dotfiles

This repo contains my dotfiles. I use it to share configs between my computers. I have created the repo using the advice at: https://news.ycombinator.com/item?id=11071754 But later updated to a simpler workflow presented by Drew DeVault on his blog: https://drewdevault.com/2019/12/30/dotfiles.html

Initialization

Create a new repository:

git init
git remote add origin git@github.com:aitva/dotfiles.git
git fetch
git checkout -f master

Add this incredible .gitignore file:

*

To add any new file you need to use git add -f FILE forcing git to override the .gitignore.

Replicate onto a new machine

git init
git remote add origin git@github.com:aitva/dotfiles.git
git fetch
git checkout -f master

Other

To import file from .bashrc.d edit .bashrc and add:

. ~/.bashrc.d/default
. ~/.bashrc.d/go

To import all files under .bashrc.d edit .bashrc and add:

if [ -d "$HOME/.bashrc.d" ]; then
	for f in $HOME/.bashrc.d/*; do
		. $f
	done
fi

About

My dotfiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published