[x] when checking available zsh version, only do it on debian and derivatives
[x] change default shell as a final step of zsh installation
[x] initial git clone produces error if ~/.dotfiles already exists, but bootstrap.sh continues execution
[x] improve p10k cloning speed if possible
[x] add launcher item for terminator to favorites on unity (ubuntu)
[x] create symlinks to share zsh configs with root user
[x] make roles fully idempotent
For instance, if the first install of p10k fails like below, future installs do not create config:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "src file does not exist, use \"force=yes\" if you really want to create the link: /home/vagrant/.dotfiles/roles/zsh/files/.p10k.zsh", "path": "/home/vagrant/.p10k.zsh", "src": "/home/vagrant/.dotfiles/roles/zsh/files/.p10k.zsh"}
The failure is caused by running bootstrap from local dir without cloning.
[x] change font cache refresh to handler
[x] make sure handlers happen correctly when re-running playbook after interruption (e.g. first run: font installed, interrupt, second run: font is not installed, no cache refresh)
[x] htop and other small utilities (check apt history)
For instance, if the first install of p10k fails like below, future installs do not create config:
The failure is caused by running bootstrap from local dir without cloning.