added atuin dotfile config and bat stuff

This commit is contained in:
Phil 2024-08-23 13:34:48 -06:00
parent 30b867686d
commit 3de01f5464

View File

@ -25,3 +25,22 @@
become: true become: true
become_user: "{{ ansible_user }}" become_user: "{{ ansible_user }}"
- name: setup dotfile sync
ansible.builtin.blockinfile:
path: "/home/{{ ansible_user }}/.config/atuin/config.toml"
block: |
[dotfiles]
enabled = true
marker: ""
- name: Install bat
apt:
name: bat
state: latest
update_cache: true
- name: Create symlink for batcat
ansible.builtin.file:
src: /usr/bin/batcat
dest: "{{ ansible_env.HOME }}/.local/bin/bat"
state: link