mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-18 09:41:31 +01:00
3.5 KiB
3.5 KiB
brethil's dotfiles
My own dotfiles. zsh
configuration based on antibody and oh-my-zsh, vim
configuration uses vim-plug, ALE and more.
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