Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.
/ dotfiles-backup Public archive

dotfiles for different roles, use case automated via ansible, one line install

License

Notifications You must be signed in to change notification settings

ohartl/dotfiles-backup

Repository files navigation

dotfiles of ohartl

These are my dotfiles that I work with every day. On multiple boxes with different kinds of OS, work scenarios and as an employee or private.

Compatible OS:

  • macOS
  • debian / ubuntu
  • WSL (Windows Subsystem for Linux) boxes

Compatible work scenarios:

  • dev envirnoment with docker
  • devops with linux
  • development of web applications with php, node, webpack

Getting started

mkdir -p ~/src
cd ~/src
git clone https://github.com/ohartl/dotfiles.git
cd dotfiles
./install

Making local customizations

You can make local customizations for some programs by creating & editing these files:

  • bash
    • Before init ~/.bashrc_before.local
    • After init ~/.bashrc_after.local
  • zsh
    • Before init ~/.zshrc_before.local
    • After init ~/.zshrc_after.local
  • Aliases for bash & zsh
    • ~/.aliases.local
  • Envirnoment variables for bash & zsh
    • ~/.vars.local
  • vim
    • ~/.vimrc.local
  • git
    • ~/.gitconfig.local

Structure

bin/

Directory for custom scripts / binaries which will be available via $PATH

files/

All custom dotfiles that are gonna be linked in the home dir via install.yml

modules/

Contains git submodules which are used to manage and run these dotfiles, but might also hold imported configs

install.yml

Configures what is run by the ./install command

Getting updates as a user

Just run dfu from anywhere within the shell ([d]ot[f]iles [u]date).

Maintenance of the repo

Updating dependencies etc.

git submodules

git submodule update --recursive --remote or just git submodule update --init --remote, dont know yet :(

bin programms

diff-highlight

  1. On an up to date git installation, find the deployed a version find -L /usr -name diff-highlight -type f
  2. Copy the version cp /usr/.../diff-highlight bin/diff-highlight and commit