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
mkdir -p ~/src
cd ~/src
git clone https://github.com/ohartl/dotfiles.git
cd dotfiles
./install
You can make local customizations for some programs by creating & editing these files:
bash
- Before init
~/.bashrc_before.local
- After init
~/.bashrc_after.local
- Before init
zsh
- Before init
~/.zshrc_before.local
- After init
~/.zshrc_after.local
- Before init
- Aliases for
bash
&zsh
~/.aliases.local
- Envirnoment variables for
bash
&zsh
~/.vars.local
vim
~/.vimrc.local
git
~/.gitconfig.local
Directory for custom scripts / binaries which will be available via $PATH
All custom dotfiles that are gonna be linked in the home dir via install.yml
Contains git submodules which are used to manage and run these dotfiles, but might also hold imported configs
Configures what is run by the ./install
command
Just run dfu
from anywhere within the shell ([d]ot[f]iles [u]date
).
Updating dependencies etc.
git submodule update --recursive --remote
or just git submodule update --init --remote
, dont know yet :(
- On an up to date git installation, find the deployed a version
find -L /usr -name diff-highlight -type f
- Copy the version
cp /usr/.../diff-highlight bin/diff-highlight
and commit