Configuration files for various UNIX programs like vim, tmux etc. Also some shell scripts are included.
I manage these using chezmoi.
Here is how I use chezmoi as a reference to future me:
- Install fresh and update the local files:
sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply --ssh ardasenerAlternatively the system_setup script in this repo could be used (but it is WIP at the moment)
- I prefer to use
.binover thebindirectory it uses by default so:
mkdir -p ~/.bin && mv ~/bin/* ~/.bin/ && rm -rf ~/bin- I prefer the avoid using
.bashrcdirectly as many programs write stuff there automatically. So source the bash_config there:
echo "# Source the config" >> ~/.bashrc && echo "source ~/.config/bash_config.sh" >> ~/.bashrc- I make my changes locally and then to update the remote:
Probably not the best way to do it but habits die hard
chezmoi re-add
chezmoi cd
# add,commit and push with git
exit- To update local files from the remote:
chezmoi update