1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-23 03:51:31 +01:00
Go to file
2024-04-06 21:24:45 +02:00
.github/workflows ci: add failure notification 2024-01-08 13:03:46 +01:00
aliases zsh: aliases: add C and P copy copy/paste 2024-04-06 21:24:45 +02:00
ansible ansible: fix bat package name on debian 2024-01-03 15:24:17 +01:00
dev dev: update makefile with release target, update docs 2020-12-09 00:14:14 +01:00
docs update README 2024-01-03 15:45:50 +01:00
extras extras: fix autoupdater script 2024-01-03 15:45:50 +01:00
functions zsh: functions: cleanup tracing functions 2024-04-06 21:24:45 +02:00
ipython/profile_default ipython: make config saner 2023-09-15 10:23:01 +02:00
themes zsh: theme: avoid using functions where possible 2024-04-06 21:24:45 +02:00
vim vim: cleanup clipboard shortcuts 2024-03-21 14:55:06 +01:00
.dockerignore update dockerignore 2022-04-02 19:58:52 +02:00
.git-blame-ignore-revs add git-blame-ignore-revs 2021-04-05 18:12:50 +02:00
.gitignore update selfupdate mechanism 2020-12-08 15:20:42 +01:00
antibody_plugins.txt zsh: remove duplicate grc omz plugin 2023-06-23 20:10:42 +02:00
brethil_dotfile.sh zsh: cleanup command lookup 2024-04-06 21:24:45 +02:00
colors.zsh zsh: cleanup colors/color functions 2024-03-01 11:25:11 +01:00
completion_style.zsh zsh: add completion style 2021-10-07 20:34:53 +02:00
Dockerfile dockerfile: use json notation for CMD 2024-01-03 15:45:50 +01:00
gitconfig git: add taglist command 2024-03-01 11:23:24 +01:00
gitignore ignore: add .vagrant dirs 2022-02-07 21:09:51 +01:00
pdbrc.py pdbrc: simplify for bretello/pdbpp version 2023-12-21 16:12:51 +01:00
README.md update README 2024-01-03 15:45:50 +01:00
tmux.conf tmux: fix rename-window shortcut 2024-01-11 13:10:52 +01:00
useful_commands useful_commands: add dbus introspection 2023-09-14 23:30:30 +02:00

brethil's dotfiles

My own dotfiles. zsh configuration based on antibody and oh-my-zsh, vim configuration uses vim-plug, ALE and more.

ci.decapod.one status

zsh theme vim theme tmux theme

Description

├── README.md
├──────── Main files ────────
│ ├── aliases/
│ │     └── aliases definitions. Add .zsh files here to include more
│ ├── functions/
│ │     └── functions definitions. ADD .zsh files here to include more
│ ├── colors.zsh
│ │     └── ANSI color escapes
│ ├── ansible
│ │     └── ansible playboooks/config
│ ├── brethil_dotfile.sh:
│ │     └── ansible playboooks/config
│ ├── antibody_plugins.txt
│ │     zsh plugins sourced by antibody
├──────── oh-my-zsh themes ────────
│ ├── themes
│ │     ├─ brethil.zsh-theme
│ └     └─ brethil-minimal.zsh-theme
├──────── Misc rc files────────
│ ├── gitconfig
│ │     └── git configuration
│ ├── ipython/
│ │     ├── ipython configs
│ ├── vim
│ │    ├── vimrc
│ │    │ └── main vim rc
│ │    ├── plugs.vim
│ │    │ └── plugins to be installed with vim-plug
│ │    ├── plugins_config.vim
│ │    │ └── plugins configuration
│ │    ├── shortcuts.vim
│ │    │ └── vim shortcuts definitions
│ │    └── functions.vim
│ │      └── miscellaneous vim function
│ └── pdbrc.py
│      └── pdb++ rc (a drop-in replacement for pdb)
├──────── Other ─────────────
├── extras/check_for_update.zsh
│      └── selfupdate script
└── useful_commands

Installation

With ansible:

bash dev/add_community.general.sh # only if community.general is not installed
ansible-playbook -v -i <hosts file> ansible/playbooks/setup.yml

This playbook can be tested with a docker container

Manually

This requires antibody to be installed.

git clone https://git.decapod.one/brethil/dotfiles ~/.dotfiles
echo 'DOTFILES=~/.dotfiles' >> ~/.zshrc
echo 'source $DOTFILES/brethil_dotfile.sh'
ln -s ~/.dotfiles ~/.vimrc

Updating

A self-update mechanism is included. It asks for confirmation to pull the latest changes from the git repo every two weeks. This also updates the git-sourced repositories installed by the install script. The self-update routine can be called manually by calling

dotfiles_selfupdate

This can be disabling by setting the DISABLE_DOTFILES_AUTO_UPDATE env var before before sourcing brethil_dotfile.sh

Try it out

Docker images are regularly built, and they include a full development environment (hence are quite large)

docker run -it registry.decapod.one/brethil/dotfiles