Skip to content

DaffyDuke/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

929 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credits

Forked from https://github.com/owulveryck/dotfiles Adapted with https://lord.re/posts/62-dotfiles-home-git/ Lots of fun from https://catonmat.net/linux-and-vim-notes


🚀 Quick Start

Bootstrap d'un nouvel ordinateur

Pour configurer rapidement un nouvel ordinateur avec vos dotfiles :

# Option 1 : Avec Make (recommandé)
git clone https://github.com/daffycricket/dotfiles.git ~/dotfiles-tmp
cd ~/dotfiles-tmp
make bootstrap
make install

# Option 2 : Manuel
git clone --bare https://github.com/daffycricket/dotfiles.git $HOME/dotfiles
echo "alias config='git --git-dir=\$HOME/dotfiles --work-tree=\$HOME'" >> ~/.zshrc
source ~/.zshrc
config config --local status.showUntrackedFiles no
config checkout

Commandes Make disponibles

make help              # Affiche l'aide complète
make bootstrap         # Configure un nouvel ordinateur
make install           # Installe tous les logiciels (setup.sh)
make check-syntax      # Vérifie la syntaxe des scripts
make merge-branches    # Merge: debian→develop, macos→develop, develop→main
make sync              # Push toutes les branches vers origin
make status            # Affiche l'état du dépôt

📖 Usage quotidien

Alias de base

alias config='git --git-dir=$HOME/dotfiles --work-tree=$HOME'

Exemples de commandes

# Ajouter/modifier un fichier
config add .zshrc
config commit -m 'tuning zshrc' .zshrc

# Avec commitizen (recommandé)
config cz commit

# Avec Make
make add FILE=.zshrc
make commit

Gestion des branches

Le projet utilise plusieurs branches pour gérer les configurations spécifiques aux OS :

  • main : Branche principale stable
  • develop : Branche de développement
  • debian : Configuration spécifique Debian/Ubuntu
  • macos : Configuration spécifique macOS

Pour merger toutes les branches :

make merge-branches
make sync

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •