Skip to content

hungLink/dotfiles-debian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Debian Dotfiles

The point of this repo is to manage the dotfiles on each debian based machine easily. Additionally there is a script (or set of scripts) that will automate any setup necessary to get a machine rolling in as few commands as possible.

Installation

cd ~/
git init
git remote add origin 
git pull origin master
~/.config/setup.py

Adding new files to this repo.

Look at the example given at the very bottom of this documentation entry: https://git-scm.com/docs/gitignore

We are doing this exact implementation. Here's a rough example with some comments for each line explaining them:

/*
/.*		Ignore everything!
!/.config	Except for .config
/.config/*	Ignore everything in .config!
!/.config/foo	except for foo

This format ensures that only the exact directories desired are tracked. With this in mind. If you want to add a directory into the .config dir, you gotta add a line in the .gitignore file that looks like the last line in the example above. It works this way for all files and dirs in the home dir.

Autostart command under linux

sudo apt install syncthing
curl https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-systemd/user/syncthing.service > /usr/local/lib/systemd/system/syncthing@.service
systemctl --user enable syncthing.service
systemctl --user start syncthing.service

About

This is my go to configuration for

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •