My ‘dotfiles’, primarly KDE Neon (“≈Ubuntu”), VIM, …. I use git clone --bare for managing dotfiles.
Go to file
2024-02-16 22:18:47 +01:00
.vim 🎉 vim 2024-02-16 21:34:54 +01:00
.vimrc 🎉 vim 2024-02-16 21:34:54 +01:00
LICENSE Initial commit 2024-02-16 21:26:56 +01:00
README.md 📝 On new machine section 2024-02-16 22:18:47 +01:00

dotfiles (WIP)

This repository contains my dotfiles. They are managed by using git clone --bare, see for example How to Store Dotfiles - A Bare Git Repository | Atlassian Git Tutorial.

On a new machine

  1. install git
  2. cd ~
  3. git clone --bare --depth 1 --recurse-submodules --shallow-submodules git@jaandrle.cz:jaandrle/dotfiles.git ~/.dotfiles
  4. alias git-dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
  5. git-dotfiles config --local status.showUntrackedFiles no
  6. you may also need to use
    1. git-dotfiles reset (git-dotfiles reset --hard HEAD)
    2. git-dotfiles checkout -f
    3. git-dotfiles submodule update --init --recursive