1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 11:01:31 +01:00
Go to file
2024-11-11 11:49:50 +01:00
.github/workflows gha: cleanup ansible workflow 2024-07-07 21:04:43 +02:00
aliases aliases: add dbldbg to run docker build with on-error debug 2024-11-11 11:49:50 +01:00
ansible ansible: cleanup aur installs 2024-08-13 01:13:39 +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: functions: add paclocfile to show information about the package owning a file 2024-08-12 17:59:01 +02:00
ipython/profile_default ipython: disable mouse support 2024-08-12 17:59:01 +02:00
themes zsh: theme: fix minimal mode, add relative path indicator 2024-08-12 19:31:52 +02:00
vim vim: improve yaml handling (ansible/gha) 2024-08-12 18:05:51 +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: account for (devel) fzf versions when checking the installed version 2024-10-25 10:41:44 +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: cleanup aur installs 2024-08-13 01:13:39 +02:00
README.md zsh: themes: remove brethil-minimal, reabsorb into default theme 2024-08-12 18:02:08 +02:00
tmux.conf tmux: add H, J, K, L keybindings to swap panes 2024-11-11 09:44:53 +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
├──────── 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

Theme customization

To set a slightly more minimal prompt setup, the environment variable DOTFILES_MINIMAL can be set in ~/.zshrc to reduce the space the path section of the prompt occupies, as well as removing the right prompt:

export DOTFILES_MINIMAL=true