My ‘dotfiles’, primarly KDE Neon (“≈Ubuntu”), VIM, …. I use git clone --bare for managing dotfiles.
Go to file
2024-08-05 12:57:54 +02:00
.config 🐛 geany (filetypes README.md) 2024-08-05 12:57:54 +02:00
.vim/colors vim, geany (ctags), zsh, gitconfig 2024-05-18 23:25:40 +02:00
.ctags vim, geany (ctags), zsh, gitconfig 2024-05-18 23:25:40 +02:00
.gitconfig vim, geany (ctags), zsh, gitconfig 2024-05-18 23:25:40 +02:00
.inputrc Replace links 2024-02-19 16:08:48 +01:00
.vimrc vim zsh 2024-05-19 00:07:36 +02:00
.zshrc vim zsh 2024-05-19 00:07:36 +02:00
LICENSE Initial commit 2024-02-16 21:26:56 +01:00
README.md 🔤 Update README with instructions for setting up dotfiles on termux 2024-02-28 14:20:28 +01:00

git3moji–v1.0 · source code on Gitea · mirrored on GitHub · older version on GitHub

dotfiles (Termux variant)

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.

Files overview

On a new machine

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

Log

  • for some reason I have to add branch to .git/config manually.
[branch "main-termux"]
	remote = origin
	merge = refs/heads/main-termux