added atuin dotfile config and bat stuff
This commit is contained in:
parent
30b867686d
commit
3de01f5464
@ -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
|
Loading…
Reference in New Issue
Block a user