1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-07-26 22:31:30 +02:00
Go to file
2024-07-07 20:27:03 +02:00
.github/workflows gha: fix failure notification 2024-07-05 22:30:02 +02:00
aliases zsh: aliases: add C and P copy copy/paste 2024-04-06 21:24:45 +02:00
ansible ansible: always run PlugInstall/PlugUpdate 2024-07-04 19:18:26 +02:00
dev ansible: refactor 2024-07-04 18:55:52 +02:00
docs update README 2024-01-03 15:45:50 +01:00
extras zsh: fix autoupgrade script for antidote 2024-04-22 09:50:05 +02:00
functions zsh: color which output, add BAT_STYLE 2024-07-04 11:45:11 +02:00
ipython/profile_default ipython: make config saner 2023-09-15 10:23:01 +02:00
themes zsh: theme: prevent breaking of prompt with virtualenv prefix 2024-05-09 16:33:31 +02:00
vim vim: disable keywordprg for go 2024-07-01 12:23:14 +02:00
.dockerignore ansible: refactor 2024-07-04 18:55: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
brethil_dotfile.sh zsh: add master->main dotfiles migration 2024-07-07 20:27:03 +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
playbook.yml ansible: refactor 2024-07-04 18:55:52 +02:00
README.md README: cleanup 2024-07-04 18:55:52 +02: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
zsh_plugins.txt zsh: migrate from antibody to antidote 2024-04-09 15:03:55 +02:00

brethil's dotfiles

My own dotfiles. zsh configuration based on antidote 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
├── playbook.yml
│    └── aliases definitions. Add .zsh files here to include more
├──────── 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 roles/vars
│ ├── brethil_dotfile.sh:
│ │    └── main configuration file
│ ├── zsh_plugins.txt
│ │     zsh plugins sourced by antidote
├──────── 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> playbook.yml

This playbook can be tested with a docker container

Manually

git clone https://git.decapod.one/brethil/dotfiles ~/.dotfiles
cat <<EOF >> .zshrc

export DOTFILES=~/.dotfiles
source \$DOTFILES/brethil_dotfile.sh
EOF

ln -s ~/.dotfiles/vim/vimrc ~/.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